When using Splint, don't try to use gettext().

svn path=/trunk/yasm/; revision=547
This commit is contained in:
Peter Johnson 2002-03-23 22:50:49 +00:00
parent 04df0be842
commit bccc5e7ec7
3 changed files with 3 additions and 6 deletions

View file

@ -42,8 +42,7 @@
#endif
#if defined(lint)
/*@dependent@*/ const char *gettext(const char *s);
#define _(String) gettext(String)
#define _(String) String
#else
# ifdef HAVE_LOCALE_H
# include <locale.h>

View file

@ -42,8 +42,7 @@
#endif
#if defined(lint)
/*@dependent@*/ const char *gettext(const char *s);
#define _(String) gettext(String)
#define _(String) String
#else
# ifdef HAVE_LOCALE_H
# include <locale.h>

3
util.h
View file

@ -42,8 +42,7 @@
#endif
#if defined(lint)
/*@dependent@*/ const char *gettext(const char *s);
#define _(String) gettext(String)
#define _(String) String
#else
# ifdef HAVE_LOCALE_H
# include <locale.h>