[143] in DCNS Development

home help back first fref pref prev next nref lref last post

Prototype-generating tool

daemon@ATHENA.MIT.EDU (kkkken@Athena.MIT.EDU)
Tue Nov 26 12:38:41 1991

Date: Tue, 26 Nov 91 12:37:30 EST
From: kkkken@Athena.MIT.EDU
To: developers@Athena.MIT.EDU


I got tired of prototyping all my functions, so I wrote a tool to do
it for me.  Check it out --- it reads in C files as input, and writes
prototypes for the functions they define to stdout.  You can then pipe
this into a shared header file.

Definitions must be in ANSI form; i.e., it will _not_ accept

  int foo (bar)
	int bar;
  { ... }

I built it for vax (installed in
/afs/athena/astaff/project/macathena/tools/vaxbin/protos).  Bugs to
me.  Run with the -d flag for debugging (it tells you the line number
where it thought it saw a function definition).

	-Ken


home help back first fref pref prev next nref lref last post