diff options
author | Pierre Ossman <ossman@cendio.se> | 2020-05-29 18:48:26 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2020-05-31 11:00:23 +0200 |
commit | a336f174cbbd4d3fb3561ebe232394457de35c2f (patch) | |
tree | 6e26c62d8125b543f37f896ad084168805465637 | |
parent | ead4e456530cea30ab97be3e03da7f6873a10ae7 (diff) | |
download | tigervnc-a336f174cbbd4d3fb3561ebe232394457de35c2f.tar.gz tigervnc-a336f174cbbd4d3fb3561ebe232394457de35c2f.zip |
Move pgettext_aux() declaration earlier
Some compilers get upset if a declaration comes after the definition.
-rw-r--r-- | vncviewer/i18n.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vncviewer/i18n.h b/vncviewer/i18n.h index ee0e020d..4a50b17c 100644 --- a/vncviewer/i18n.h +++ b/vncviewer/i18n.h @@ -20,8 +20,6 @@ #ifndef _I18N_H #define _I18N_H 1 -#include "gettext.h" - /* Need to tell gcc that pgettext() doesn't screw up format strings */ #ifdef __GNUC__ static const char * @@ -30,6 +28,8 @@ pgettext_aux (const char *domain, int category) __attribute__ ((format_arg (3))); #endif +#include "gettext.h" + #define _(String) gettext (String) #define p_(Context, String) pgettext (Context, String) #define N_(String) gettext_noop (String) |