Commit Graph

29 Commits

Author SHA1 Message Date
thorpej 8d965a0542 Need <stdlib.h> for exit() prototype. 2002-12-06 02:54:19 +00:00
thorpej 22eefcb754 Don't include <sys/cdefs.h> directly. On a NetBSD system, it will be
pulled in by <sys/types.h>, and on a non-NetBSD system (host tool case),
it doesn't really matter (since it's just for the __RCSID macro).

There are larger problems with mkmagic's host tool-ness.  A PR has been
filed.
2002-09-15 00:50:18 +00:00
pooka 8e3a8d0529 minor shuffles to make this more like the vendor version 2002-07-10 16:15:52 +00:00
pooka ce0a2bbbef end this destructive conflict 2002-07-09 14:59:52 +00:00
wiz 239c204f66 Remove #if __STDC__, de-__P() and ANSIfy.
Okay'd by christos.
2002-06-14 19:05:18 +00:00
christos 71fa9914d7 PR/16941: Antti Kantee: Clean up unused functions. 2002-05-21 12:51:27 +00:00
pooka 184b2ef7fa conflict therapy 2002-05-18 07:00:44 +00:00
tv 9fbd88883c Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
round has been tested on Solaris/x86 and Linux hosts.

* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
  sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.
2002-01-31 22:43:33 +00:00
pooka 59a767d683 resolve conflicts 2001-09-09 10:46:36 +00:00
pooka 9ac45dc28d resolve conflicts 2001-07-22 22:53:00 +00:00
pooka a2f50a2443 resolve conflicts 2001-03-17 11:21:51 +00:00
pooka e5efd07a0b resolve conflicts 2000-09-22 16:34:59 +00:00
christos 5d9fa0390d Resolve conflicts 2000-05-14 22:53:37 +00:00
christos 7d48644528 Resolve corn flakes. 1999-11-01 17:39:26 +00:00
thorpej 23309c9e22 Make the magic type field explicitly unsigned and fix comparisons of this
value appropriately.  Fixes warnings on systems where char is naturally
unsigned.
1998-09-30 18:51:13 +00:00
christos faf55c153e resolve corn flakes. 1998-09-20 15:27:15 +00:00
lukem b01545b899 WARNSify 1997-10-18 14:53:48 +00:00
thorpej 6eb4708731 Add two more casts to (unsigned char) to make this work on the PowerPC. 1997-04-19 05:21:36 +00:00
cjs 795a80dde1 64-bit police. 1997-02-11 08:15:19 +00:00
christos 704854c465 Update to version 3.22 1997-01-28 00:49:36 +00:00
tls 9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
christos 60fe6da7c1 Kill gcc -Wall warnings 1995-04-30 19:39:37 +00:00
christos 0bb1fbddb3 Integrated file-3.17 1995-04-28 19:23:38 +00:00
christos 7e99ebc790 Updated to file-3.16; fixes PR867 1995-03-25 22:35:28 +00:00
mycroft ab61bc03f0 Fix numerous sign-extension problems, and add support for explicitly unsigned
comparisons.
1993-11-03 04:04:19 +00:00
deraadt 4e14c1b196 incorrect rcsid[] declarations fixed 1993-08-06 01:47:17 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
jtc ebefd0d08f Updated to Ian Darwin's latest release.
Adds lots of neat features from most other vendors file(1) commands,
plus (important!) little and big endian file types.  This will alow
us to detect and extract meaningful information from a many more
file types.
1993-06-10 00:37:55 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00