Author: tfaber
Date: Sun Feb 5 09:58:22 2017
New Revision: 73697
URL:
http://svn.reactos.org/svn/reactos?rev=73697&view=rev
Log:
[HHPCOMP]
- Avoid implicit function declarations
Modified:
trunk/reactos/sdk/tools/hhpcomp/chmc/chmc.c
Modified: trunk/reactos/sdk/tools/hhpcomp/chmc/chmc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/tools/hhpcomp/chmc/chm…
==============================================================================
--- trunk/reactos/sdk/tools/hhpcomp/chmc/chmc.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/tools/hhpcomp/chmc/chmc.c [iso-8859-1] Sun Feb 5 09:58:22 2017
@@ -31,6 +31,10 @@
#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 @@
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;