diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-12-05 23:20:27 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-12-05 23:20:27 +0000 |
commit | 0275dcbbe75bf604e5d9b03f215e510188a36496 (patch) | |
tree | 5c28b494f1e6a54c80a5317abfe2c32e13cbbdc5 /usr.sbin/lpr | |
parent | 56b74e8e5b53b78f8c539afa3b9581be53b79e06 (diff) |
Remove excessive sys/cdefs.h inclusion
ok guenther millert kettenis
Diffstat (limited to 'usr.sbin/lpr')
-rw-r--r-- | usr.sbin/lpr/common_source/lp.h | 3 | ||||
-rw-r--r-- | usr.sbin/lpr/lpc/cmdtab.c | 5 | ||||
-rw-r--r-- | usr.sbin/lpr/lpc/extern.h | 5 | ||||
-rw-r--r-- | usr.sbin/lpr/lpd/extern.h | 3 |
4 files changed, 5 insertions, 11 deletions
diff --git a/usr.sbin/lpr/common_source/lp.h b/usr.sbin/lpr/common_source/lp.h index 0ba45de74eb..bb70128e5bb 100644 --- a/usr.sbin/lpr/common_source/lp.h +++ b/usr.sbin/lpr/common_source/lp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: lp.h,v 1.16 2012/11/29 02:15:44 guenther Exp $ */ +/* $OpenBSD: lp.h,v 1.17 2012/12/05 23:20:26 deraadt Exp $ */ /* $NetBSD: lp.h,v 1.14 2000/04/16 14:43:58 mrg Exp $ */ /* @@ -118,7 +118,6 @@ struct queue { errno = save_errno; \ } while (0) -#include <sys/cdefs.h> __BEGIN_DECLS struct dirent; diff --git a/usr.sbin/lpr/lpc/cmdtab.c b/usr.sbin/lpr/lpc/cmdtab.c index b9420b7f530..200504531d2 100644 --- a/usr.sbin/lpr/lpc/cmdtab.c +++ b/usr.sbin/lpr/lpc/cmdtab.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmdtab.c,v 1.6 2009/10/27 23:59:52 deraadt Exp $ */ +/* $OpenBSD: cmdtab.c,v 1.7 2012/12/05 23:20:26 deraadt Exp $ */ /* $NetBSD: cmdtab.c,v 1.4 1995/11/15 22:27:34 pk Exp $ */ /* @@ -30,8 +30,7 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> - +#include <sys/types.h> #include "lpc.h" #include "extern.h" diff --git a/usr.sbin/lpr/lpc/extern.h b/usr.sbin/lpr/lpc/extern.h index 82c4e7bc552..45cd090ccdd 100644 --- a/usr.sbin/lpr/lpc/extern.h +++ b/usr.sbin/lpr/lpc/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.5 2003/06/02 23:36:53 millert Exp $ */ +/* $OpenBSD: extern.h,v 1.6 2012/12/05 23:20:26 deraadt Exp $ */ /* $NetBSD: extern.h,v 1.2 1995/11/15 22:27:36 pk Exp $ */ /* @@ -34,9 +34,6 @@ */ -#include <sys/cdefs.h> - - __BEGIN_DECLS void clean(int, char **); void disable(int, char **); diff --git a/usr.sbin/lpr/lpd/extern.h b/usr.sbin/lpr/lpd/extern.h index b2efdf89d20..b2d0d64bebf 100644 --- a/usr.sbin/lpr/lpd/extern.h +++ b/usr.sbin/lpr/lpd/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.6 2003/06/02 23:36:53 millert Exp $ */ +/* $OpenBSD: extern.h,v 1.7 2012/12/05 23:20:26 deraadt Exp $ */ /* * Copyright (c) 1989, 1993 @@ -31,7 +31,6 @@ * @(#)extern.h 8.1 (Berkeley) 6/6/93 */ -#include <sys/cdefs.h> #include <sys/ioctl.h> #include <termios.h> |