diff options
author | des <des@FreeBSD.org> | 2004-02-10 10:11:23 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2004-02-10 10:11:23 +0000 |
commit | e7b72507645a81484339e78353b4dff6e8f85102 (patch) | |
tree | ade6fe7568d93ce36594df493d1763a60e14e818 /contrib/openpam/include | |
parent | 0ac9b614f9f226bd46f9d2f378dba4a0a2ecb797 (diff) | |
download | FreeBSD-src-e7b72507645a81484339e78353b4dff6e8f85102.zip FreeBSD-src-e7b72507645a81484339e78353b4dff6e8f85102.tar.gz |
Vendor import of OpenPAM Eelgrass.
Diffstat (limited to 'contrib/openpam/include')
-rw-r--r-- | contrib/openpam/include/security/openpam.h | 8 | ||||
-rw-r--r-- | contrib/openpam/include/security/openpam_version.h | 6 | ||||
-rw-r--r-- | contrib/openpam/include/security/pam_appl.h | 4 |
3 files changed, 11 insertions, 7 deletions
diff --git a/contrib/openpam/include/security/openpam.h b/contrib/openpam/include/security/openpam.h index 138e75d..afe1576 100644 --- a/contrib/openpam/include/security/openpam.h +++ b/contrib/openpam/include/security/openpam.h @@ -31,7 +31,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/openpam/include/security/openpam.h#26 $ + * $P4: //depot/projects/openpam/include/security/openpam.h#27 $ */ #ifndef _SECURITY_OPENPAM_H_INCLUDED @@ -147,7 +147,11 @@ void _openpam_log(int _level, const char *_func, const char *_fmt, - ...); + ...) +#if defined(__GNUC__) + __attribute__((__format__(__printf__, 3, 4))) +#endif + ; #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) #define openpam_log(lvl, ...) \ diff --git a/contrib/openpam/include/security/openpam_version.h b/contrib/openpam/include/security/openpam_version.h index ac14f33..802936b 100644 --- a/contrib/openpam/include/security/openpam_version.h +++ b/contrib/openpam/include/security/openpam_version.h @@ -31,14 +31,14 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/openpam/include/security/openpam_version.h#11 $ + * $P4: //depot/projects/openpam/include/security/openpam_version.h#12 $ */ #ifndef _OPENPAM_VERSION_H_INCLUDED #define _OPENPAM_VERSION_H_INCLUDED #define _OPENPAM -#define _OPENPAM_VERSION 20030715 -#define _OPENPAM_RELEASE "Dogwood" +#define _OPENPAM_VERSION 20040210 +#define _OPENPAM_RELEASE "Eelgrass" #endif diff --git a/contrib/openpam/include/security/pam_appl.h b/contrib/openpam/include/security/pam_appl.h index 5f91c64..d97022e 100644 --- a/contrib/openpam/include/security/pam_appl.h +++ b/contrib/openpam/include/security/pam_appl.h @@ -31,7 +31,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/openpam/include/security/pam_appl.h#13 $ + * $P4: //depot/projects/openpam/include/security/pam_appl.h#14 $ */ #ifndef _PAM_APPL_H_INCLUDED @@ -71,7 +71,7 @@ pam_end(pam_handle_t *_pamh, int pam_get_data(pam_handle_t *_pamh, const char *_module_data_name, - const void **_data); + void **_data); int pam_get_item(pam_handle_t *_pamh, |