summaryrefslogtreecommitdiffstats
path: root/lib/buffer.h
diff options
context:
space:
mode:
authorpaul <paul>2004-06-04 19:58:18 +0200
committerpaul <paul>2004-06-04 19:58:18 +0200
commit5228ad27e2f3abe0ebb69f66607aedc048b94a13 (patch)
treea65817a03150dbfeb56a1eaceab526f31be1cc1d /lib/buffer.h
parent2004-06-04 JJ Ludman <jacques.ludman@sun.com> (diff)
downloadfrr-5228ad27e2f3abe0ebb69f66607aedc048b94a13.tar.xz
frr-5228ad27e2f3abe0ebb69f66607aedc048b94a13.zip
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 7449aa77e..eaf4b88df 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);