From: Hallvard Furuseth Date: Thu, 19 Nov 1998 04:49:01 +0000 (+0000) Subject: Add "avoid extern in .c files". X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~1082 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ad9a9ac8bc1e9d7ffc81caad230055e3b37713ea;p=openldap Add "avoid extern in .c files". --- diff --git a/CODING.RULES b/CODING.RULES index fd802202c8..146259a099 100644 --- a/CODING.RULES +++ b/CODING.RULES @@ -35,7 +35,7 @@ designed to be equivalent to standard C's file. Nonstatic function and variable definitions in .c files should be preceded by their declarations in .h files. Avoid implicit function -declarations. +declarations. Avoid external declarations in .c files. When a function returns non-void, it should return a meaningful value. Avoid implicit int. @@ -54,7 +54,7 @@ coordinate activities there. Do not commit a patch, however small, without at least testing that it compiles. -In general, the patch/bugfix should be applied to -devel and tested. +In general, a patch/bugfix should be applied to -devel and tested. When the patch is considered stable, then it can be merged into -stable. Same goes for other release engineering branches (like OPENLDAP_REL_ENG_1_1). (-stable is rel eng 1.0).