2000-03-29 16:38:44 +04:00
|
|
|
Notes to hackers.
|
|
|
|
|
2003-12-04 19:05:14 +03:00
|
|
|
See README.patches for information about submitting patches.
|
|
|
|
|
2000-03-29 16:38:44 +04:00
|
|
|
---
|
|
|
|
|
|
|
|
Dave likes this code indented formatted in a consistent way.
|
|
|
|
The file "dot.emacs" has the emacs C-mode indentation style that Dave likes.
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
NTP4 uses ANSI C. Some folks are blessed with a pre-ansi C compiler. We
|
|
|
|
support them by using "ansi2knr" in the Makefiles, which is automatically
|
|
|
|
detected and selected by the configure process.
|
|
|
|
|
|
|
|
For ansi2knr to work, we MUST define functions as follows:
|
|
|
|
|
|
|
|
type stuff
|
|
|
|
function_name ( actual parameters )
|
|
|
|
|
|
|
|
While the whitespace is optional, the function name MUST start at column 0.
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
We'd like to see *all* system function declarations live in include/l_stdlib.h
|
|
|
|
and NEVER appear in the .c files.
|
|
|
|
|
2003-12-04 19:05:14 +03:00
|
|
|
---
|