From 4df0191de8a51d1aee7fe3aaaa8169a4fd734564 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Fri, 16 Nov 2001 22:55:26 +0000 Subject: [PATCH] lclint-ize gettext(). svn path=/trunk/yasm/; revision=331 --- libyasm/util.h | 4 ++++ src/util.h | 4 ++++ util.h | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/libyasm/util.h b/libyasm/util.h index 25fb1722..6c344468 100644 --- a/libyasm/util.h +++ b/libyasm/util.h @@ -36,7 +36,11 @@ # include #endif +#if defined(lint) +/*@dependent@*/ const char *gettext(const char *s); +#else #include +#endif #define _(String) gettext(String) #if !defined(HAVE_MERGESORT) diff --git a/src/util.h b/src/util.h index 25fb1722..6c344468 100644 --- a/src/util.h +++ b/src/util.h @@ -36,7 +36,11 @@ # include #endif +#if defined(lint) +/*@dependent@*/ const char *gettext(const char *s); +#else #include +#endif #define _(String) gettext(String) #if !defined(HAVE_MERGESORT) diff --git a/util.h b/util.h index 25fb1722..6c344468 100644 --- a/util.h +++ b/util.h @@ -36,7 +36,11 @@ # include #endif +#if defined(lint) +/*@dependent@*/ const char *gettext(const char *s); +#else #include +#endif #define _(String) gettext(String) #if !defined(HAVE_MERGESORT) -- 2.40.0