aboutsummaryrefslogtreecommitdiff
path: root/contrib/ntp/README.hackers
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/README.hackers')
-rw-r--r--contrib/ntp/README.hackers25
1 files changed, 25 insertions, 0 deletions
diff --git a/contrib/ntp/README.hackers b/contrib/ntp/README.hackers
new file mode 100644
index 000000000000..230cd3239c07
--- /dev/null
+++ b/contrib/ntp/README.hackers
@@ -0,0 +1,25 @@
+Notes to hackers.
+
+---
+
+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.
+