summaryrefslogtreecommitdiff
path: root/x11-toolkits/xview/files/patch-lib+libxview+misc+gettext.c
blob: d56a3ca8c60321b3b81ece149231288af52133b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- lib/libxview/misc/gettext.c.orig	Thu Oct  5 18:45:03 2006
+++ lib/libxview/misc/gettext.c	Thu Oct  5 18:50:03 2006
@@ -10,10 +10,12 @@
 #include <xview_private/gettext.h>
 
 char *strdup();
-char * dgettext(), *bindtextdomain();
-char *_gettext();
+char * dgettext(char* domain_nane, char* msg_id), *bindtextdomain();
+static char *_gettext();
 char *fgets(), *getenv();
+#ifndef OS_HAS_MMAP
 caddr_t mmap();
+#endif
 
 static struct domain_binding *firstbind=0, *lastbind=0;