From owner-freebsd-hackers Wed Apr 16 17:25:17 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA14516 for hackers-outgoing; Wed, 16 Apr 1997 17:25:17 -0700 (PDT) Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id RAA14505 for ; Wed, 16 Apr 1997 17:25:14 -0700 (PDT) Received: from www.sdsp.mc.xerox.com ([13.231.132.18]) by alpha.xerox.com with SMTP id <24350(4)>; Wed, 16 Apr 1997 15:09:45 PDT Received: from gnu.sdsp.mc.xerox.com (gnu.sdsp.mc.xerox.com [13.231.133.90]) by www.sdsp.mc.xerox.com (8.8.5/8.8.5) with SMTP id SAA08893; Wed, 16 Apr 1997 18:07:56 -0400 (EDT) Received: by gnu.sdsp.mc.xerox.com (4.1/client-1.3) id AA01250; Wed, 16 Apr 97 18:07:33 EDT Message-Id: <9704162207.AA01250@gnu.sdsp.mc.xerox.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: ywliu@phi.sinica.edu.tw (Yen-Wei Liu) Cc: hackers@freebsd.org Subject: Re: How to extract function prototypes from source code ? In-Reply-To: Your message of "Wed, 16 Apr 1997 02:22:07 PDT." <9704160922.AA06376@phi.Sinica.EDU.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 16 Apr 1997 15:07:32 PDT From: "Marty Leisner" Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Hi, > > This is not really directly related to FreeBSD programming, but... > > I do remember there is a switch in GCC that can extract function prototypes > (declarations) from source code to a seperate file so it's easier > to build up header files, but however I cannot find it anymore. Didn't > my memory serve me wrong ? How can I do this ? > > look at cproto...it often works well. -- marty leisner@sdsp.mc.xerox.com The Feynman problem solving Algorithm 1) Write down the problem 2) Think real hard 3) Write down the answer Murray Gel-mann in the NY Times