summaryrefslogtreecommitdiff
path: root/map_common.h
diff options
context:
space:
mode:
authorDave Olson <olson@cumulusnetworks.com>2018-04-02 10:50:18 -0700
committerDave Olson <olson@cumulusnetworks.com>2018-04-10 12:33:12 -0700
commit7f2e226bde6e6cd5cc7b29f7385a8c14a9b8b66f (patch)
treef163585c36bfd16852c0caec21fdb4b42cfde968 /map_common.h
parenta8740bec7979f1060ab6759808e9f02dce184e46 (diff)
downloadlibnss-mapuser-7f2e226bde6e6cd5cc7b29f7385a8c14a9b8b66f.tar.gz
libnss-mapuser-7f2e226bde6e6cd5cc7b29f7385a8c14a9b8b66f.zip
Cleanup whitespace by running 'indent -linux' on all the files
There were no code changes, just the indent whitespace and formatting changes.
Diffstat (limited to 'map_common.h')
-rw-r--r--map_common.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/map_common.h b/map_common.h
index ff136d3..b3401ea 100644
--- a/map_common.h
+++ b/map_common.h
@@ -23,7 +23,6 @@
* stripped during the linking phase (made internal only).
*/
-
#include <string.h>
#include <syslog.h>
#include <stdlib.h>
@@ -34,17 +33,16 @@
#include <ctype.h>
#include <nss.h>
-
/*
* pwbuf is used to reduce number of arguments passed around; the strings in
* the passwd struct need to point into this buffer.
*/
struct pwbuf {
- char *name;
- char *buf;
- struct passwd *pw;
- int *errnop;
- size_t buflen;
+ char *name;
+ char *buf;
+ struct passwd *pw;
+ int *errnop;
+ size_t buflen;
};
/* configuration variables. */
@@ -55,7 +53,6 @@ extern uid_t min_uid;
extern int debug;
extern int nss_mapuser_config(int *errnop, const char *lname);
-extern int pwcopy(char *buf, size_t len, struct passwd *srcpw, struct passwd *destpw,
- const char *usename);
+extern int pwcopy(char *buf, size_t len, struct passwd *srcpw,
+ struct passwd *destpw, const char *usename);
extern int get_pw_mapuser(const char *name, struct pwbuf *pb);
-