summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/README.hackers
blob: a33b004e5ac0e07f846a30fd8c951b89848c1219 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Notes to hackers.

See README.patches for information about submitting patches.

---

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.

---
OpenPOWER on IntegriCloud