unifdef(1).
(Should complete bin and usr.bin.)
(Did i press 'g' all the time? Sorry if not!)
--steffen
Index: usr.bin/unifdef/unifdef.c
===================================================================
RCS file: /Users/steffen/arena/code.openbsd/src/usr.bin/unifdef/unifdef.c,v
retrieving revision 1.14
diff -a -p -u -r1.14 unifdef.c
--- usr.bin/unifdef/unifdef.c 27 Oct 2009 23:59:46 -0000 1.14
+++ usr.bin/unifdef/unifdef.c 26 Feb 2012 17:16:50 -0000
@@ -183,7 +183,7 @@ static void debug(const char
static void error(const char *);
static int findsym(const char *);
static void flushline(bool);
-static Linetype getline(void);
+static Linetype ltgetline(void);
static Linetype ifeval(const char **);
static void ignoreoff(void);
static void ignoreon(void);
@@ -663,7 +663,7 @@ process(void)
for (;;) {
linenum++;
- lineval = getline();
+ lineval = ltgetline();
trans = trans_table[ifstate[depth]][lineval];
if (trans == NULL)
break;
@@ -681,7 +681,7 @@ process(void)
* parser state between calls in a global variable.
*/
static Linetype
-getline(void)
+ltgetline(void)
{
const char *cp;
int cursym;