I need to create ANSI C function prototypes.
Brian Campbell
brianc at cognos.uucp
Fri Feb 19 03:07:01 AEST 1988
In article <201 at fxgrp.UUCP> fxgrp!ljz at ames.arpa (Lloyd Zusman) writes:
! I'm looking for a program that will take old-fashioned C code and
! produce ANSI C function prototypes.
In article <2273 at cognos.UUCP> brianc at cognos.UUCP (Brian Campbell) writes:
! I tried to do this once before. I failed. I wanted to have lint
! create a lint-library for each source file, but lint libraries are not
! particularly readable (they're not textual).
In article <445 at spectrix.UUCP> clewis at spectrix.UUCP (Chris R. Lewis) writes:
! An easy hack:
!
! Take the lint shell file. Make a copy. Modify it so that it saves
! the output of the "lint1" pass. Delete the lint2 pass. Run it on
! the sources you want to have lint libraries for. Viola! The stuff
! you saved is the lint library.
Not quite so simple. The lint "shell file" on this system (Sun Unix 4.2
Release 3.2) is not a script but a binary executable. Doesn't anyone know
the format of the compiled lint library?
--
Brian Campbell uucp: decvax!utzoo!dciem!nrcaer!cognos!brianc
Cognos Incorporated mail: POB 9707, 3755 Riverside Drive, Ottawa, K1G 3Z4
(613) 738-1440 fido: (613) 731-2945 300/1200, sysop at 1:163/8
More information about the Comp.unix.questions
mailing list