WRC: move function prototypes to header
Mike McCormack
mike at codeweavers.com
Tue Jun 21 20:23:59 CDT 2005
This fixes a -Wmissing-declarations warning
Mike
ChangeLog:
* move function prototypes to header
-------------- next part --------------
Index: tools/wrc/translation.c
===================================================================
RCS file: /home/wine/wine/tools/wrc/translation.c,v
retrieving revision 1.1
diff -u -p -r1.1 translation.c
--- tools/wrc/translation.c 18 Jan 2004 23:24:05 -0000 1.1
+++ tools/wrc/translation.c 22 Jun 2005 01:25:33 -0000
@@ -20,6 +20,7 @@
#include <stdlib.h>
#include "dumpres.h"
+#include "wrc.h"
#define MASTER_LANGUAGE LANG_ENGLISH
#define NB_LANG 0x94
Index: tools/wrc/wrc.c
===================================================================
RCS file: /home/wine/wine/tools/wrc/wrc.c,v
retrieving revision 1.39
diff -u -p -r1.39 wrc.c
--- tools/wrc/wrc.c 4 May 2004 04:13:05 -0000 1.39
+++ tools/wrc/wrc.c 22 Jun 2005 01:25:33 -0000
@@ -108,12 +108,6 @@ static const char version_string[] = "Wi
" 1994 Martin von Loewis\n";
/*
- * External functions
- */
-void write_resfile(char *outname, resource_t *top);
-void verify_translations(resource_t *top);
-
-/*
* Set if compiling in 32bit mode (default).
*/
int win32 = 1;
Index: tools/wrc/wrc.h
===================================================================
RCS file: /home/wine/wine/tools/wrc/wrc.h,v
retrieving revision 1.31
diff -u -p -r1.31 wrc.h
--- tools/wrc/wrc.h 5 Sep 2003 23:15:40 -0000 1.31
+++ tools/wrc/wrc.h 22 Jun 2005 01:25:33 -0000
@@ -66,4 +66,7 @@ extern int char_number;
extern resource_t *resource_top;
extern language_t *currentlanguage;
+void verify_translations(resource_t *top);
+void write_resfile(char *outname, resource_t *top);
+
#endif
More information about the wine-patches
mailing list