summaryrefslogtreecommitdiffstats
path: root/usr.bin/finger/extern.h
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2004-03-14 06:43:34 +0000
committerjmallett <jmallett@FreeBSD.org>2004-03-14 06:43:34 +0000
commitf12ed405d13a8799736ce8347eb2442e49fa7fd8 (patch)
treef2c3eca9aa1949ec61715776f1adb7a0ecc62535 /usr.bin/finger/extern.h
parent36be86fb0ab127fdca2afe0978f4d07102f731e0 (diff)
downloadFreeBSD-src-f12ed405d13a8799736ce8347eb2442e49fa7fd8.zip
FreeBSD-src-f12ed405d13a8799736ce8347eb2442e49fa7fd8.tar.gz
Add multiple inclusion guards. Mostly this is for extern.h, which was
included twice by lprint.c, which included both finger.h and extern.h. finger.h, in turn, includes extern.h. The redundant include of extern.h was removed from lprint.c, as part of this change, but the include guards were added anyway out of spite.
Diffstat (limited to 'usr.bin/finger/extern.h')
-rw-r--r--usr.bin/finger/extern.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/finger/extern.h b/usr.bin/finger/extern.h
index c8ff7f0..3855209 100644
--- a/usr.bin/finger/extern.h
+++ b/usr.bin/finger/extern.h
@@ -34,6 +34,9 @@
* $FreeBSD$
*/
+#ifndef _EXTERN_H_
+#define _EXTERN_H_
+
extern char tbuf[1024]; /* Temp buffer for anybody. */
extern int entries; /* Number of people. */
extern DB *db; /* Database. */
@@ -58,3 +61,5 @@ PERSON *palloc(void);
char *prphone(char *);
void sflag_print(void);
int show_text(const char *, const char *, const char *);
+
+#endif /* !_EXTERN_H_ */
OpenPOWER on IntegriCloud