[ds6-devel] nc6 README.Maint,1.5,1.6
chris@deepspace6.net
chris@deepspace6.net
Fri Jan 3 08:40:26 2003
Update of /cvs/nc6
Modified Files:
README.Maint
Log Message:
Functions are supposed to start the brace on the next line..
Index: README.Maint
===================================================================
RCS file: /cvs/nc6/README.Maint,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- README.Maint 3 Jan 2003 00:14:39 -0000 1.5
+++ README.Maint 3 Jan 2003 08:40:24 -0000 1.6
@@ -142,7 +142,8 @@
For instance, don't write:
/* do __NOT__ do this!!! */
- int* foo(const char* str) {
+ int* foo(const char* str)
+ {
int* ret;
ret = (int*)xmalloc(safe_atoi(str));
@@ -153,7 +154,8 @@
but:
/* this is the correct layout for the code above */
- int *foo(const char *str) {
+ int *foo(const char *str)
+ {
int *ret;
ret = (int *)xmalloc(safe_atoi(str));
More information about the ds6-devel
mailing list