diff options
author | Steve Langasek <steve.langasek@ubuntu.com> | 2019-01-03 17:53:41 -0800 |
---|---|---|
committer | Steve Langasek <steve.langasek@ubuntu.com> | 2019-01-03 18:17:08 -0800 |
commit | 212b52cf29c06cc209bc8ac0540dbab1acdf1464 (patch) | |
tree | 58da0bf39f5c4122e4a1b4da20fdeea52b97a671 /libpamc/include/security/pam_client.h | |
parent | 9c52e721044e7501c3d4567b36d222dc7326224a (diff) | |
parent | 56c8282d128fb484ffc77dff73abf42229b291d3 (diff) | |
download | pam-212b52cf29c06cc209bc8ac0540dbab1acdf1464.tar.gz pam-212b52cf29c06cc209bc8ac0540dbab1acdf1464.tar.bz2 pam-212b52cf29c06cc209bc8ac0540dbab1acdf1464.zip |
New upstream version 1.1.0
Diffstat (limited to 'libpamc/include/security/pam_client.h')
-rw-r--r-- | libpamc/include/security/pam_client.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/libpamc/include/security/pam_client.h b/libpamc/include/security/pam_client.h index 3ef0edd1..6a3d6c06 100644 --- a/libpamc/include/security/pam_client.h +++ b/libpamc/include/security/pam_client.h @@ -1,5 +1,5 @@ /* - * $Id: pam_client.h,v 1.7 2005/05/20 14:58:58 kukuk Exp $ + * $Id: pam_client.h,v 1.8 2009/03/27 10:46:11 kukuk Exp $ * * Copyright (c) 1999 Andrew G. Morgan <morgan@linux.kernel.org> * @@ -9,8 +9,8 @@ #ifndef PAM_CLIENT_H #define PAM_CLIENT_H -#ifdef __cplusplus -extern "C" { +#ifdef __cplusplus +extern "C" { #endif /* def __cplusplus */ #include <unistd.h> @@ -74,8 +74,12 @@ char **pamc_list_agents(pamc_handle_t pch); #include <unistd.h> #ifndef PAM_BP_ASSERT -# define PAM_BP_ASSERT(x) do { printf(__FILE__ "(%d): %s\n", \ - __LINE__, x) ; exit(1); } while (0) +# ifdef NDEBUG +# define PAM_BP_ASSERT(x) do {} while (0) +# else +# define PAM_BP_ASSERT(x) do { printf(__FILE__ "(%d): %s\n", \ + __LINE__, x) ; exit(1); } while (0) +# endif /* NDEBUG */ #endif /* PAM_BP_ASSERT */ #ifndef PAM_BP_CALLOC |