]> granicus.if.org Git - yasm/commitdiff
lclint-ize gettext().
authorPeter Johnson <peter@tortall.net>
Fri, 16 Nov 2001 22:55:26 +0000 (22:55 -0000)
committerPeter Johnson <peter@tortall.net>
Fri, 16 Nov 2001 22:55:26 +0000 (22:55 -0000)
svn path=/trunk/yasm/; revision=331

libyasm/util.h
src/util.h
util.h

index 25fb17223472697fd52720ec36e64ea49c4a1045..6c34446823b1e52adf41ddd41003924654fc6dba 100644 (file)
 # include <string.h>
 #endif
 
+#if defined(lint)
+/*@dependent@*/ const char *gettext(const char *s);
+#else
 #include <libintl.h>
+#endif
 #define _(String)      gettext(String)
 
 #if !defined(HAVE_MERGESORT)
index 25fb17223472697fd52720ec36e64ea49c4a1045..6c34446823b1e52adf41ddd41003924654fc6dba 100644 (file)
 # include <string.h>
 #endif
 
+#if defined(lint)
+/*@dependent@*/ const char *gettext(const char *s);
+#else
 #include <libintl.h>
+#endif
 #define _(String)      gettext(String)
 
 #if !defined(HAVE_MERGESORT)
diff --git a/util.h b/util.h
index 25fb17223472697fd52720ec36e64ea49c4a1045..6c34446823b1e52adf41ddd41003924654fc6dba 100644 (file)
--- a/util.h
+++ b/util.h
 # include <string.h>
 #endif
 
+#if defined(lint)
+/*@dependent@*/ const char *gettext(const char *s);
+#else
 #include <libintl.h>
+#endif
 #define _(String)      gettext(String)
 
 #if !defined(HAVE_MERGESORT)