summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/ntpd.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-09-16 01:13:43 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-09-16 01:13:43 +0000
commit0c4bae27e9069e7d0685cc9c4f8364fe2ed10ed1 (patch)
treee530da43f30cb7e608981c8cc2d2f3677cceb340 /usr.sbin/ntpd/ntpd.h
parent966599e8469056afebfe392b5145ca9abde9ab92 (diff)
the "type" param to imsg_compose and imsg_create is really an
enum imsg_type and not an int
Diffstat (limited to 'usr.sbin/ntpd/ntpd.h')
-rw-r--r--usr.sbin/ntpd/ntpd.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ntpd/ntpd.h b/usr.sbin/ntpd/ntpd.h
index 1d0c1577807..1c29af2f2ee 100644
--- a/usr.sbin/ntpd/ntpd.h
+++ b/usr.sbin/ntpd/ntpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntpd.h,v 1.35 2004/09/15 19:21:25 henning Exp $ */
+/* $OpenBSD: ntpd.h,v 1.36 2004/09/16 01:13:42 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -191,9 +191,9 @@ int msgbuf_write(struct msgbuf *);
void imsg_init(struct imsgbuf *, int);
int imsg_read(struct imsgbuf *);
int imsg_get(struct imsgbuf *, struct imsg *);
-int imsg_compose(struct imsgbuf *, int, u_int32_t, pid_t, void *,
- u_int16_t);
-struct buf *imsg_create(struct imsgbuf *, int, u_int32_t, pid_t,
+int imsg_compose(struct imsgbuf *, enum imsg_type, u_int32_t, pid_t,
+ void *, u_int16_t);
+struct buf *imsg_create(struct imsgbuf *, enum imsg_type, u_int32_t, pid_t,
u_int16_t);
int imsg_add(struct buf *, void *, u_int16_t);
int imsg_close(struct imsgbuf *, struct buf *);