[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] nanobits3.patch committed
From: |
David Benbennick |
Subject: |
Re: [Nano-devel] nanobits3.patch committed |
Date: |
Thu, 22 Aug 2002 13:49:49 -0400 |
User-agent: |
Mutt/1.2.5i |
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.
pgp2AdSpAuH7S.pgp
Description: PGP signature