diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2003-12-21 16:11:35 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2003-12-21 16:11:35 +0000 |
commit | dca1b47971dabaedfe3bc438ba9d3546c1fac147 (patch) | |
tree | 372a7e0edf736abdfa66c0a3af4409a0200fc98c /usr.sbin/bgpd/bgpd.h | |
parent | 44f7bb36139b1465657421890934b80c3a83391e (diff) |
yet more from the castathon; most aspath functions where accessing non-
aligned memory (u_int16_t) therefor crashed the RDE on my sparc64. All
buffer specific functions use now void * instead of u_char * so most cast
are now history. Tested on sparc64 and i386. OK henning@
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r-- | usr.sbin/bgpd/bgpd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h index 1f0f55cb02c..04ffa8aa3d5 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.6 2003/12/20 21:19:40 claudio Exp $ */ +/* $OpenBSD: bgpd.h,v 1.7 2003/12/21 16:11:33 claudio Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -235,7 +235,7 @@ int session_main(struct bgpd_config *, int[2], int[2]); /* buffer.c */ struct buf *buf_open(struct peer *, int, ssize_t); int buf_add(struct buf *, void *, ssize_t); -u_char *buf_reserve(struct buf *, ssize_t); +void *buf_reserve(struct buf *, ssize_t); int buf_close(struct buf *); int buf_write(struct buf *); void buf_free(struct buf *buf); |