diff options
author | jmallett <jmallett@FreeBSD.org> | 2004-03-14 06:43:34 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2004-03-14 06:43:34 +0000 |
commit | f12ed405d13a8799736ce8347eb2442e49fa7fd8 (patch) | |
tree | f2c3eca9aa1949ec61715776f1adb7a0ecc62535 /usr.bin/finger/extern.h | |
parent | 36be86fb0ab127fdca2afe0978f4d07102f731e0 (diff) | |
download | FreeBSD-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.h | 5 |
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_ */ |