summaryrefslogtreecommitdiff
path: root/lib/buffer.h
diff options
context:
space:
mode:
authorpaul <paul>2004-06-04 17:58:18 +0000
committerpaul <paul>2004-06-04 17:58:18 +0000
commit5228ad27e2f3abe0ebb69f66607aedc048b94a13 (patch)
treea65817a03150dbfeb56a1eaceab526f31be1cc1d /lib/buffer.h
parentc2bfbcc38428b53e856617e1da8bbe9f8d2ee2fa (diff)
2004-06-04 Paul Jakma <paul@dishone.st>
* type mismatch fixes
Diffstat (limited to 'lib/buffer.h')
-rw-r--r--lib/buffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/buffer.h b/lib/buffer.h
index 7449aa77..eaf4b88d 100644
--- a/lib/buffer.h
+++ b/lib/buffer.h
@@ -63,11 +63,11 @@ struct buffer_data
/* Buffer prototypes. */
struct buffer *buffer_new (size_t);
-int buffer_write (struct buffer *, u_char *, size_t);
+int buffer_write (struct buffer *, void *, size_t);
void buffer_free (struct buffer *);
char *buffer_getstr (struct buffer *);
int buffer_putc (struct buffer *, u_char);
-int buffer_putstr (struct buffer *, u_char *);
+int buffer_putstr (struct buffer *, char *);
void buffer_reset (struct buffer *);
int buffer_flush_all (struct buffer *, int);
int buffer_flush_vty_all (struct buffer *, int, int, int);