Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libc/gen



Module Name:    src
Committed By:   lukem
Date:           Mon Oct 27 02:17:18 UTC 2003

Modified Files:
        src/lib/libc/gen: verr.c

Log Message:
Overhaul how `build.sh tools' are used:

    *   Rename "config.h" to "nbtool_config.h" and
        HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
        This makes in more obvious in the source when we're using
        tools/compat/config.h versus "standard autoconf" config.h

    *   Consistently move the inclusion of nbtool_config.h to before
        <sys/cdefs.h> so that the former can provide __RCSID() (et al),
        and there's no need to protect those macros any more.

These changes should make it easier to "tool-ify" a program by adding:
        #if HAVE_NBTOOL_CONFIG_H
        #include "nbtool_config.h"
        #endif
to the top of the source files (for the general case).


To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 src/lib/libc/gen/verr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index