summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 918206a..d83f6f4 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -37,6 +37,14 @@
#include "string-extra.h"
#include "gcc_extensions.h"
+
+
+/* on some platforms strcmp() seems to be a tricky define which
+ * breaks if we write down strcmp's prototype */
+#undef strcmp
+#undef strncmp
+#undef strchr
+
char* strncpy(char *, const char *, size_t);
void* plugin_get_buffer(size_t *buffer_size);
@@ -119,12 +127,6 @@ void* plugin_get_buffer(size_t *buffer_size);
#endif
-/* on some platforms strcmp() seems to be a tricky define which
- * breaks if we write down strcmp's prototype */
-#undef strcmp
-#undef strncmp
-#undef strchr
-
#ifdef PLUGIN
#if defined(DEBUG) || defined(SIMULATOR)