From 664c417af5d16e217557468ba747a369e8e1ab6b Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 7 Feb 2021 17:19:44 -0600 Subject: Add lots of "static" annotations, make a couple things use FLAG() macros, etc. --- toys/lsb/seq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'toys/lsb') diff --git a/toys/lsb/seq.c b/toys/lsb/seq.c index beeaed3f..7a931c64 100644 --- a/toys/lsb/seq.c +++ b/toys/lsb/seq.c @@ -53,7 +53,8 @@ static double parsef(char *s) } // fast integer conversion to decimal string -char *itoa(char *s, int i) +// TODO move to lib? +static char *itoa(char *s, int i) { char buf[16], *ff = buf; unsigned n = i; @@ -69,10 +70,9 @@ char *itoa(char *s, int i) return s; } -char *flush_toybuf(char *ss) +static char *flush_toybuf(char *ss) { if (ss-toybuf