[SCM] Samba Shared Repository - branch master updated
Volker Lendecke
vlendec at samba.org
Sat Nov 14 04:56:54 MST 2009
The branch, master has been updated
via 8e2bbb8... Mention typedef struct in README.Coding
from f4cf1c5... s3: Add min_setup, min_param and min_data to cli_trans_recv
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 8e2bbb8a330d29ed745e097374016815f9fed544
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 14 12:55:41 2009 +0100
Mention typedef struct in README.Coding
-----------------------------------------------------------------------
Summary of changes:
README.Coding | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/README.Coding b/README.Coding
index 2e7dd2f..981da6c 100644
--- a/README.Coding
+++ b/README.Coding
@@ -233,3 +233,11 @@ new code should adhere to the following conventions:
* Booleans are of type "bool" (not BOOL)
* Boolean values are "true" and "false" (not True or False)
* Exact width integers are of type [u]int[8|16|32|64]_t
+
+
+Typedefs
+--------
+
+Samba tries to avoid "typedef struct { .. } x_t;", we always use
+"struct x { .. };". We know there are still those typedefs in the code,
+but for new code, please don't do that.
--
Samba Shared Repository
More information about the samba-cvs
mailing list