diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2015-05-19 13:24:18 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-05-22 12:42:28 +0200 |
commit | 0a111b876c59ea7b5eab4b33449966d6005dc5b1 (patch) | |
tree | 4664f3278f4a39cdfb5dc317169f61f069ea95ff /src/util/authtok-utils.h | |
parent | dca741129d221558a4325479aefc617240f1ab08 (diff) | |
download | sssd-0a111b876c59ea7b5eab4b33449966d6005dc5b1.tar.gz sssd-0a111b876c59ea7b5eab4b33449966d6005dc5b1.tar.xz sssd-0a111b876c59ea7b5eab4b33449966d6005dc5b1.zip |
sss_client: Fix warning "_" redefined
"enum sss_authtok_type" is defined in sss_client/pam_message.h
So it's better to include it instead of "util/authtok.h".
"util/authtok.h" includes many header files including "util/util.h"
CC src/util/crypto/nss/libsss_crypt_la-nss_base64.lo
src/sss_client/pam_sss.c:48:0: error: "_" redefined [-Werror]
#define _(STRING) dgettext (PACKAGE, STRING)
^
In file included from ../sssd/src/util/authtok.h:23:0,
from ../sssd/src/sss_client/pam_message.h:29,
from ../sssd/src/sss_client/pam_sss.c:43:
src/util/util.h:55:0: note: this is the location of the previous definition
#define _(STRING) gettext (STRING)
^
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/util/authtok-utils.h')
0 files changed, 0 insertions, 0 deletions