mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
9
ipa-client/ipa-client-common.h
Normal file
9
ipa-client/ipa-client-common.h
Normal 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 */
|
||||
Reference in New Issue
Block a user