Module Name: othersrc Committed By: dholland Date: Fri Mar 22 22:59:24 UTC 2013
Modified Files: othersrc/usr.bin/dholland-make2: suff.c Log Message: Declare types before data. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 othersrc/usr.bin/dholland-make2/suff.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: othersrc/usr.bin/dholland-make2/suff.c diff -u othersrc/usr.bin/dholland-make2/suff.c:1.8 othersrc/usr.bin/dholland-make2/suff.c:1.9 --- othersrc/usr.bin/dholland-make2/suff.c:1.8 Tue Mar 5 04:27:27 2013 +++ othersrc/usr.bin/dholland-make2/suff.c Fri Mar 22 22:59:24 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: suff.c,v 1.8 2013/03/05 04:27:27 dholland Exp $ */ +/* $NetBSD: suff.c,v 1.9 2013/03/22 22:59:24 dholland Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -131,16 +131,7 @@ #include "hash.h" #include "dir.h" -MAKE_RCSID("$NetBSD: suff.c,v 1.8 2013/03/05 04:27:27 dholland Exp $"); - -static Lst sufflist; /* Lst of suffixes */ -#ifdef CLEANUP -static Lst suffClean; /* Lst of suffixes to be cleaned */ -#endif -static Lst srclist; /* Lst of sources */ -static Lst transforms; /* Lst of transformation rules */ - -static int sNum = 0; /* Counter for assigning suffix numbers */ +MAKE_RCSID("$NetBSD: suff.c,v 1.9 2013/03/22 22:59:24 dholland Exp $"); /* * Structure describing an individual suffix. @@ -200,6 +191,15 @@ typedef struct { Boolean r; } GNodeSuff; +static Lst sufflist; /* Lst of suffixes */ +#ifdef CLEANUP +static Lst suffClean; /* Lst of suffixes to be cleaned */ +#endif +static Lst srclist; /* Lst of sources */ +static Lst transforms; /* Lst of transformation rules */ + +static int sNum = 0; /* Counter for assigning suffix numbers */ + static Suff *suffNull; /* The NULL suffix for this run */ static Suff *emptySuff; /* The empty suffix required for POSIX * single-suffix transformation rules */