summaryrefslogtreecommitdiff
path: root/usr.bin/make/lowparse.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2000-09-14 13:32:11 +0000
committerMarc Espie <espie@cvs.openbsd.org>2000-09-14 13:32:11 +0000
commit28df6ffac43fe362569ebdb390fe1e7dd994c877 (patch)
tree306f06672ccb6c8ba9c67d1b19544e6b70551f16 /usr.bin/make/lowparse.c
parent912ebd4a27f63943fb63420edfac122743be32ca (diff)
Some systematic clean-up.
- UNUSED macro that expands to __attribute__((unused)) for gcc - move rcsid around so that they can be tagged UNUSED. - activate -Wunused. - use UNUSED instead of kludgy junk for function arguments. - add extern to all extern prototypes. - update comments in lst.h. - clean up var.c a little bit, constifying arguments, updating comments...
Diffstat (limited to 'usr.bin/make/lowparse.c')
-rw-r--r--usr.bin/make/lowparse.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/make/lowparse.c b/usr.bin/make/lowparse.c
index 9234727cca7..01d9c660e88 100644
--- a/usr.bin/make/lowparse.c
+++ b/usr.bin/make/lowparse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lowparse.c,v 1.3 2000/07/17 23:54:26 espie Exp $ */
+/* $OpenBSD: lowparse.c,v 1.4 2000/09/14 13:32:07 espie Exp $ */
/* low-level parsing functions. */
@@ -61,11 +61,9 @@ static IFile *new_ifile __P((char *, FILE *));
static IFile *new_istring __P((char *, char *, unsigned long));
static void free_ifile __P((IFile *));
static void ParseVErrorInternal __P((char *, unsigned long, int, char *, va_list));
-static int skiptoendofline __P((void));
static int newline __P((void));
#define ParseReadc() current->ptr < current->end ? *current->ptr++ : newline()
static void ParseUnreadc __P((char));
-static int ParseSkipEmptyLines __P((Buffer));
static int fatals = 0;
/*-