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-02 11:09:21 -0700
commit556625e62b692b723cc6809d2374c3da9616dc3d (patch)
treef163585c36bfd16852c0caec21fdb4b42cfde968 /map_common.h
parenta8b91db168be36606391eb0b96af0ee4aaa6812f (diff)
downloadlibnss-mapuser-556625e62b692b723cc6809d2374c3da9616dc3d.tar.gz
libnss-mapuser-556625e62b692b723cc6809d2374c3da9616dc3d.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);
-