Commit Graph

14 Commits

Author SHA1 Message Date
perry d310ebb16a de-__P, ANSIfy prototypes 2006-01-04 01:30:21 +00:00
lukem 171d653219 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).
2003-10-27 00:12:41 +00:00
dmcmahill 188fcee35a add
#if HAVE_CONFIG_H
#include "config.h"
#endif
to get this to build under solaris-2.6/sparc with gcc-2.95.1 as part of
the NetBSD cross toolchain build.  Fixes PR23211.  Patch approved by
Alistair Crooks.
2003-10-22 12:30:39 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
augustss a24a8f129a Do the defined(__RCSID) song and dance to enable cross compilation. 2003-03-12 16:46:33 +00:00
kleink a4d0ca7ffd setlocale(LC_ALL, "") on startup. 2002-11-12 22:41:01 +00:00
lukem c6810a0286 WARNSify, fix .Nm usage, deprecate register 1997-10-19 02:34:02 +00:00
mrg 7397398466 merge lite-2. 1997-10-18 13:53:56 +00:00
mikel 769693f903 add explicit return types to many functions
pull global variable declarations and function prototypes into hexdump.h
add #includes where necessary for prototypes
replace index() with strchr(), const-poison static string vars, etc.
1997-07-11 06:28:26 +00:00
tls 9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
jtc 273e6cc624 Include appropriate header files to bring prototypes into scope.
Removed explicit errno declarations.
1996-05-07 18:32:22 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mrg c78c6a22ab 4.4BSD-Lite2 1993-06-06 20:58:02 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00