diff options
author | Slávek Banko <[email protected]> | 2015-10-21 20:24:02 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2015-10-21 20:24:02 +0200 |
commit | d057953830e148631c371b140d983d7a25c064da (patch) | |
tree | 66d0365c5b07581a2598e0ded198f38b51c59184 /src/ckpasswd.c | |
parent | bb1740cd7327374a1124cb2931ba77ea59c90867 (diff) | |
download | smartcardauth-r14.0.3.tar.gz smartcardauth-r14.0.3.zip |
This resolves Bug 2434
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/ckpasswd.c')
-rw-r--r-- | src/ckpasswd.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/ckpasswd.c b/src/ckpasswd.c index 9dbdbcf..0ccf986 100644 --- a/src/ckpasswd.c +++ b/src/ckpasswd.c @@ -43,14 +43,8 @@ # define OPT_SHADOW "" #endif -/* The functions are actually macros so that we can pick up the file and line - number information for debugging error messages without the user having to - pass those in every time. */ -#define xcalloc(n, size) x_calloc((n), (size), __FILE__, __LINE__) -#define xmalloc(size) x_malloc((size), __FILE__, __LINE__) -#define xrealloc(p, size) x_realloc((p), (size), __FILE__, __LINE__) -#define xstrdup(p) x_strdup((p), __FILE__, __LINE__) -#define xstrndup(p, size) x_strndup((p), (size), __FILE__, __LINE__) +#include "messages.h" +#include "xmalloc.h" #include <security/pam_appl.h> |