From 1814aec611a5f9e03eceee81237ad3a3f51c954a Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Wed, 26 Oct 2011 23:56:54 +0000 Subject: Fix whitespace issues Cleanup trailing whitespaces, indentation that uses spaces before tabs, and blank lines at EOF. Make the project free of warnings reported by git diff --check 4b825dc642cb6eb9a060e54bf8d69288fbee4904 HEAD --- libpam/pam_dynamic.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libpam/pam_dynamic.c') diff --git a/libpam/pam_dynamic.c b/libpam/pam_dynamic.c index 5be33c36..e1155e50 100644 --- a/libpam/pam_dynamic.c +++ b/libpam/pam_dynamic.c @@ -55,8 +55,8 @@ void *_pam_dlopen(const char *mod_path) NSObjectFileImage ofile; void *ret = NULL; - if (NSCreateObjectFileImageFromFile(mod_path, &ofile) != - NSObjectFileImageSuccess ) + if (NSCreateObjectFileImageFromFile(mod_path, &ofile) != + NSObjectFileImageSuccess ) return NULL; ret = NSLinkModule(ofile, mod_path, NSLINKMODULE_OPTION_PRIVATE | NSLINKMODULE_OPTION_BINDNOW); @@ -68,7 +68,7 @@ void *_pam_dlopen(const char *mod_path) #endif } -servicefn _pam_dlsym(void *handle, const char *symbol) +servicefn _pam_dlsym(void *handle, const char *symbol) { #ifdef PAM_SHL char *_symbol = NULL; @@ -83,7 +83,7 @@ servicefn _pam_dlsym(void *handle, const char *symbol) return NULL; strcpy(_symbol, SHLIB_SYM_PREFIX); strcat(_symbol, symbol); - if( shl_findsym(&handle, _symbol, + if( shl_findsym(&handle, _symbol, (short) TYPE_PROCEDURE, &ret ){ free(_symbol); return NULL; @@ -92,7 +92,7 @@ servicefn _pam_dlsym(void *handle, const char *symbol) } return ret; - + #elif defined(PAM_DYLD) NSSymbol nsSymbol; char *_symbol; -- cgit v1.2.3