summaryrefslogtreecommitdiff
path: root/auto-int.c
diff options
context:
space:
mode:
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);
}