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>
This commit is contained in:
Jakub Hrozek
2010-11-05 09:36:00 +01:00
committed by Simo Sorce
parent 7086c9e863
commit 960fc66447
7 changed files with 73 additions and 98 deletions

View File

@@ -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 */