summaryrefslogtreecommitdiff
path: root/lib/libsectok/r1r2.c
diff options
context:
space:
mode:
authorJim Rees <rees@cvs.openbsd.org>2001-06-07 16:10:02 +0000
committerJim Rees <rees@cvs.openbsd.org>2001-06-07 16:10:02 +0000
commit47643908694ed46da22982d25c33cd6aa716c613 (patch)
treefa8d47ff4017117cc0c8d30cdc3dc23ced310b02 /lib/libsectok/r1r2.c
parent903085f6f0ebab29946c945754764d4d77638383 (diff)
fix compiler warnings
Diffstat (limited to 'lib/libsectok/r1r2.c')
-rw-r--r--lib/libsectok/r1r2.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libsectok/r1r2.c b/lib/libsectok/r1r2.c
index c9c4c075c95..af079c0ab92 100644
--- a/lib/libsectok/r1r2.c
+++ b/lib/libsectok/r1r2.c
@@ -3,7 +3,7 @@
*
* See copyright notice at end of file
*/
-static char *rcsid = "$Id: r1r2.c,v 1.1 2001/06/07 15:17:33 rees Exp $";
+static char *rcsid = "$Id: r1r2.c,v 1.2 2001/06/07 16:10:00 rees Exp $";
#ifdef __palmos__
#define NULL 0
@@ -94,7 +94,6 @@ char *
scr1r2s(int r1, int r2)
{
int i;
- char *s;
static char buf[64];
for (i = 0; r1r2s[i].s; i++)
@@ -124,7 +123,7 @@ fdump_reply(FILE *f, unsigned char *p, int n, int r1, int r2)
int
dump_reply(unsigned char *p, int n, int r1, int r2)
{
- fdump_reply(stdout, p, n, r1, r2);
+ return fdump_reply(stdout, p, n, r1, r2);
}
#endif