diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2010-11-05 09:36:00 +0100 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2010-11-22 16:01:35 -0500 |
commit | 960fc6644714c1231a0822bc24b0750c873557df (patch) | |
tree | 4bc28ddd72920bc8d81a69a647a421be2800655a /ipa-client/ipa-client-common.h | |
parent | 7086c9e8635a47966a7222e8efa30e873f0c1d95 (diff) | |
download | freeipa-960fc6644714c1231a0822bc24b0750c873557df.tar.gz freeipa-960fc6644714c1231a0822bc24b0750c873557df.tar.xz freeipa-960fc6644714c1231a0822bc24b0750c873557df.zip |
ipa-client code cleanup
Fixes errors about implicit function declaration and moves duplicated
gettext code into a common module. Also silences some warnings.
Signed-off-by: Simo Sorce <ssorce@redhat.com>
Diffstat (limited to 'ipa-client/ipa-client-common.h')
-rw-r--r-- | ipa-client/ipa-client-common.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ipa-client/ipa-client-common.h b/ipa-client/ipa-client-common.h new file mode 100644 index 000000000..dbf474d52 --- /dev/null +++ b/ipa-client/ipa-client-common.h @@ -0,0 +1,9 @@ +#ifndef __IPA_CLIENT_COMMON_H +#define __IPA_CLIENT_COMMON_H + +#include <libintl.h> +#define _(STRING) gettext(STRING) + +int init_gettext(void); + +#endif /* __IPA_CLIENT_COMMON_H */ |