X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/c8b6da2295a35cda0232f147993a0ed6ff68b207..d9cc4e1ae29f3fdad933e631076efe9ac0ac4e70:/client/loclass/fileutils.h?ds=inline

diff --git a/client/loclass/fileutils.h b/client/loclass/fileutils.h
index 623190a6..10720f76 100644
--- a/client/loclass/fileutils.h
+++ b/client/loclass/fileutils.h
@@ -38,6 +38,9 @@
 
 #ifndef FILEUTILS_H
 #define FILEUTILS_H
+
+#ifndef ON_DEVICE
+
 /**
  * @brief Utility function to save data to a file. This method takes a preferred name, but if that
  * file already exists, it tries with another name until it finds something suitable.
@@ -50,6 +53,8 @@
  */
 int saveFile(const char *preferredName, const char *suffix, const void* data, size_t datalen);
 
+int fileExists(const char *filename);
+#endif //ON_DEVICE
 
 /**
  * Utility function to print to console. This is used consistently within the library instead
@@ -59,5 +64,4 @@ int saveFile(const char *preferredName, const char *suffix, const void* data, si
  * @param fmt
  */
 void prnlog(char *fmt, ...);
-int fileExists(const char *filename);
 #endif // FILEUTILS_H