From c7bb19c55c7a902e25bdd33b0d49a2ddcf62e07a Mon Sep 17 00:00:00 2001 From: Arthur de Jong <arthur@arthurdejong.org> Date: Sat, 22 Dec 2012 21:38:26 +0000 Subject: update C coding style to a more commonly used style git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1873 ef36b2f9-881f-0410-afb5-c4e39611909c --- compat/ldap_compat.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'compat/ldap_compat.h') diff --git a/compat/ldap_compat.h b/compat/ldap_compat.h index 039932c..55e75a5 100644 --- a/compat/ldap_compat.h +++ b/compat/ldap_compat.h @@ -1,7 +1,7 @@ /* ldap_compat.h - provide a replacement definitions for some ldap functions - Copyright (C) 2009, 2010 Arthur de Jong + Copyright (C) 2009, 2010, 2012 Arthur de Jong This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -36,25 +36,25 @@ #ifndef HAVE_LDAP_INITIALIZE /* provide a wrapper around ldap_init() if the system doesn't have ldap_initialize() */ -int ldap_initialize(LDAP **ldp,const char *url); +int ldap_initialize(LDAP **ldp, const char *url); #endif /* not HAVE_LDAP_INITIALIZE */ #ifndef HAVE_LDAP_CREATE_PAGE_CONTROL -int ldap_create_page_control(LDAP *ld,unsigned long pagesize, - struct berval *cookiep,int iscritical, +int ldap_create_page_control(LDAP *ld, unsigned long pagesize, + struct berval *cookiep, int iscritical, LDAPControl **ctrlp); #endif /* not HAVE_LDAP_CREATE_PAGE_CONTROL */ #ifndef HAVE_LDAP_PARSE_PAGE_CONTROL -int ldap_parse_page_control(LDAP *ld,LDAPControl **ctrls, +int ldap_parse_page_control(LDAP *ld, LDAPControl **ctrls, unsigned long *list_countp, struct berval **cookiep); #endif /* not HAVE_LDAP_PARSE_PAGE_CONTROL */ #ifndef HAVE_LDAP_PASSWD_S -int ldap_passwd_s(LDAP *ld,struct berval *user,struct berval *oldpw, - struct berval *newpw,struct berval *newpasswd, - LDAPControl **sctrls,LDAPControl **cctrls); +int ldap_passwd_s(LDAP *ld, struct berval *user, struct berval *oldpw, + struct berval *newpw, struct berval *newpasswd, + LDAPControl **sctrls, LDAPControl **cctrls); #endif /* not HAVE_LDAP_PASSWD_S */ /* compatibility definition */ -- cgit v1.2.3