43bsd.git
7 years agoFully redo p.sh dependency check in s.sh with also prototype dependency checks, the...
Nick Downing [Tue, 17 Jan 2017 11:58:08 +0000 (22:58 +1100)]
Fully redo p.sh dependency check in s.sh with also prototype dependency checks, the check is a bit complicated as regards struct/union references since a struct/union pointer in the main part of a header file do not pull in the definition, but the same struct/union pointer in the prototypes part of a header file does

7 years agoChange things around so that the p.sh script (add #include to *.[ch] to satisfy macro...
Nick Downing [Tue, 17 Jan 2017 11:08:21 +0000 (22:08 +1100)]
Change things around so that the p.sh script (add #include to *.[ch] to satisfy macro/typedef/struct/union dependencies) can be reused after adding prototypes

7 years agoNow generating prototypes for all C files and putting them in sensible places
Nick Downing [Mon, 16 Jan 2017 15:05:40 +0000 (02:05 +1100)]
Now generating prototypes for all C files and putting them in sensible places

7 years agoMake c->h dependencies not care whether a struct reference is only a pointer
Nick Downing [Sun, 15 Jan 2017 14:54:17 +0000 (01:54 +1100)]
Make c->h dependencies not care whether a struct reference is only a pointer

7 years agoNow computing dependencies quite nicely, all headers compile, can run cproto
Nick Downing [Sun, 15 Jan 2017 14:26:23 +0000 (01:26 +1100)]
Now computing dependencies quite nicely, all headers compile, can run cproto

7 years agoScript to rediscover dependencies between header files and from c to headers
Nick Downing [Sun, 15 Jan 2017 09:02:30 +0000 (20:02 +1100)]
Script to rediscover dependencies between header files and from c to headers

7 years agoPreparatory stuff that collects includes and libc files, identifies assembly source...
Nick Downing [Sun, 15 Jan 2017 03:39:19 +0000 (14:39 +1100)]
Preparatory stuff that collects includes and libc files, identifies assembly source and finds a c version from 4.3tahoe if possible or supplies a stub based on the lint-library, removes multiple-inclusion protection from header files, identifies and removes header dependencies and K&R style prototypes in headers

7 years agoPatches to cproto to fix varargs handling and adjust output, add xify program
Nick Downing [Sat, 14 Jan 2017 06:45:08 +0000 (17:45 +1100)]
Patches to cproto to fix varargs handling and adjust output, add xify program

7 years agoAdd original cproto-4.6
Nick Downing [Thu, 12 Jan 2017 08:28:54 +0000 (19:28 +1100)]
Add original cproto-4.6

7 years ago4.3BSD source tree from Mckusick's CDROM
Nick Downing [Thu, 12 Jan 2017 08:26:09 +0000 (19:26 +1100)]
4.3BSD source tree from Mckusick's CDROM