diff options
author | Moritz Jodeit <moritz@cvs.openbsd.org> | 2005-08-05 16:23:31 +0000 |
---|---|---|
committer | Moritz Jodeit <moritz@cvs.openbsd.org> | 2005-08-05 16:23:31 +0000 |
commit | ec853029afbe6ec38b652384e4f714bbe5ee76af (patch) | |
tree | 2aad47c1b9c6ddfd8dea7ba12c039e3f74cc4ba9 /sbin/dhclient | |
parent | 9671db0bea768406a1f8c613a1dbe34f677dc972 (diff) |
remove duplicate privsep prototypes and put all
of them into privsep.h. ok krw@ henning@
Diffstat (limited to 'sbin/dhclient')
-rw-r--r-- | sbin/dhclient/dhcpd.h | 9 | ||||
-rw-r--r-- | sbin/dhclient/privsep.h | 5 |
2 files changed, 4 insertions, 10 deletions
diff --git a/sbin/dhclient/dhcpd.h b/sbin/dhclient/dhcpd.h index b86d6adea61..9c1d3224913 100644 --- a/sbin/dhclient/dhcpd.h +++ b/sbin/dhclient/dhcpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dhcpd.h,v 1.46 2005/08/02 02:34:03 krw Exp $ */ +/* $OpenBSD: dhcpd.h,v 1.47 2005/08/05 16:23:30 moritz Exp $ */ /* * Copyright (c) 2004 Henning Brauer <henning@openbsd.org> @@ -383,10 +383,3 @@ void parse_client_lease_declaration(FILE *, struct client_lease *, int parse_option_decl(FILE *, struct option_data *); void parse_string_list(FILE *, struct string_list **, int); void parse_reject_statement(FILE *); - -/* privsep.c */ -struct buf *buf_open(size_t); -int buf_add(struct buf *, void *, size_t); -int buf_close(int, struct buf *); -ssize_t buf_read(int, void *, size_t); -void dispatch_imsg(int); diff --git a/sbin/dhclient/privsep.h b/sbin/dhclient/privsep.h index f30284eeefe..6828ea21ba6 100644 --- a/sbin/dhclient/privsep.h +++ b/sbin/dhclient/privsep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: privsep.h,v 1.2 2004/05/04 18:51:18 henning Exp $ */ +/* $OpenBSD: privsep.h,v 1.3 2005/08/05 16:23:30 moritz Exp $ */ /* * Copyright (c) 2004 Henning Brauer <henning@openbsd.org> @@ -44,4 +44,5 @@ struct imsg_hdr { struct buf *buf_open(size_t); int buf_add(struct buf *, void *, size_t); int buf_close(int, struct buf *); -ssize_t buf_read(int sock, void *, size_t); +ssize_t buf_read(int, void *, size_t); +void dispatch_imsg(int); |