summaryrefslogtreecommitdiff
path: root/auto-int8.c
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2014-04-27 16:04:51 -0700
committerJohn Denker <jsd@av8n.com>2014-04-27 16:33:23 -0700
commit8e0679d9227c964d8df84bcb71054a4f14f72343 (patch)
treeee70210eb701bc604a1b6c577797c989f94fd0be /auto-int8.c
parent97f3e615e5d634ca0b762193c0e87017d41584fd (diff)
get rid of some warnings
Diffstat (limited to 'auto-int8.c')
-rw-r--r--auto-int8.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/auto-int8.c b/auto-int8.c
index 091978f..77e7930 100644
--- a/auto-int8.c
+++ b/auto-int8.c
@@ -7,7 +7,7 @@
char buf1[256];
substdio ss1 = SUBSTDIO_FDBUF(write,1,buf1,sizeof(buf1));
-void puts(s)
+void myputs(s)
char *s;
{
if (substdio_puts(&ss1,s) == -1) _exit(111);
@@ -30,11 +30,11 @@ char **argv;
scan_8long(value,&num);
strnum[fmt_ulong(strnum,num)] = 0;
- puts("int ");
- puts(name);
- puts(" = ");
- puts(strnum);
- puts(";\n");
+ myputs("int ");
+ myputs(name);
+ myputs(" = ");
+ myputs(strnum);
+ myputs(";\n");
if (substdio_flush(&ss1) == -1) _exit(111);
_exit(0);
}