summaryrefslogtreecommitdiff
path: root/auto-int.c
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2014-04-27 23:04:51 (GMT)
committerJohn Denker <jsd@av8n.com>2014-04-27 23:33:23 (GMT)
commit8e0679d9227c964d8df84bcb71054a4f14f72343 (patch)
treeee70210eb701bc604a1b6c577797c989f94fd0be /auto-int.c
parent97f3e615e5d634ca0b762193c0e87017d41584fd (diff)
get rid of some warnings
Diffstat (limited to 'auto-int.c')
-rw-r--r--auto-int.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/auto-int.c b/auto-int.c
index c138869..b3c307e 100644
--- a/auto-int.c
+++ b/auto-int.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_ulong(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);
}