[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] nanobits3.patch committed
From: |
Chris Allegretta |
Subject: |
Re: [Nano-devel] nanobits3.patch committed |
Date: |
Thu, 22 Aug 2002 20:03:15 -0700 |
User-agent: |
Mutt/1.2.5.1i |
On Thu, Aug 22, 2002 at 01:49:49PM -0400, David Benbennick wrote:
> On Thu, Aug 22, 2002 at 05:11:25AM -0700, Chris Allegretta wrote:
> > ... I'd rather not see a large chunk of the code become static. ...
> >
> > ... let me know what you think about this.
>
> Okay, no more static functions.
>
> I wonder if it is a good idea to include prototypes in proto.h for all
> non-static functions? As the code now stands, I could add a function
> named print1opt to any source file other than nano.c. There are no
> compiler errors, but the linker bombs. By having a prototype for nano.c's
> version of print1opt, the problem would be caught by the compiler.
This is a very good idea. It would unpleasant work to do, but if
no one else does I will do it, assuming I have free time again in the
near future.
Chris A
--
Chris Allegretta http://www.asty.org
"Share and Enjoy" - Douglas Adams, 1952 - 2001