blob: 2542cc20b092d5194f982affb9fb880c659fced5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-bx,v 1.1 2008/08/31 06:52:29 dholland Exp $
--- server/zb.h~ 1997-09-29 15:54:22.000000000 -0400
+++ server/zb.h 2008-08-31 01:32:42.000000000 -0400
@@ -65,5 +65,8 @@ extern zb_t zb;
**
** Note, cast here works around absence of buf.pub.h include in
** files that use this macro and no other buf routines.
+**
+** which DOESN'T WORK, silly... copying decl of buf_split instead.
*/
-#define zb_split() (chunk_t *)buf_split(zb.bp, 0)
+extern FUNC( chunk_t *, buf_split, (buffer_t *, uint_t));
+#define zb_split() buf_split(zb.bp, 0)
|