diff options
Diffstat (limited to 'usr.sbin/lpr/lpc/lpc.h')
-rw-r--r-- | usr.sbin/lpr/lpc/lpc.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/lpr/lpc/lpc.h b/usr.sbin/lpr/lpc/lpc.h index eca7b9165d168..bc034c357ae7c 100644 --- a/usr.sbin/lpr/lpc/lpc.h +++ b/usr.sbin/lpr/lpc/lpc.h @@ -31,6 +31,8 @@ * SUCH DAMAGE. * * @(#)lpc.h 8.1 (Berkeley) 6/6/93 + * + * $FreeBSD$ */ /* @@ -39,10 +41,10 @@ struct printer; struct cmd { - char *c_name; /* command name */ - char *c_help; /* help message */ + const char *c_name; /* command name */ + const char *c_help; /* help message */ /* routine to do the work */ - void (*c_handler) __P((int, char *[])); + void (*c_handler)(int, char *[]); int c_priv; /* privileged command */ - void (*c_generic) __P((struct printer *)); /* generic command */ + void (*c_generic)(struct printer *); /* generic command */ }; |