[HHPCOMP]
authorThomas Faber <thomas.faber@reactos.org>
Sun, 5 Feb 2017 09:58:22 +0000 (09:58 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 5 Feb 2017 09:58:22 +0000 (09:58 +0000)
- Avoid implicit function declarations

svn path=/trunk/; revision=73697

reactos/sdk/tools/hhpcomp/chmc/chmc.c

index a131ae1..50c4b46 100644 (file)
 #include <sys/types.h>
 #include <sys/stat.h>
 #else
+#ifdef __REACTOS__
+#include <sys/types.h>
+#include <sys/stat.h>
+#endif /* __REACTOS__ */
 #include <unistd.h>
 #endif
 
@@ -100,6 +104,15 @@ int chmc_pmgi_add_entry(struct chmcFile *chm, const char *name, int pmgl_id);
 void chmc_pmgi_add(struct chmcFile *chm, struct chmcPmgiChunkNode *pmgi);
 void chmc_string_init(struct chmcStringChunk *node);
 
+#ifdef __REACTOS__
+int chmc_uncompressed_done(struct chmcFile *chm);
+int chmc_pmgi_done(struct chmcFile *chm);
+int chmc_write(struct chmcFile *chm);
+int chmc_appendfile(struct chmcFile *chm, const char *filename, void *buf,
+                size_t size );
+int chmc_pmgl_add_entry(struct chmcFile *chm, struct chmcTreeNode *entry);
+#endif /* __REACTOS__ */
+
 struct chmcLzxInfo
 {
        struct chmcFile *chm;