diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | HACKING | 7 |
2 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2007-10-18 William Jon McCann <mccann@jhu.edu> + + * HACKING: Futz with the order. + 2007-10-15 William Jon McCann <mccann@jhu.edu> * common/gdm-md5.c: (gdm_md5_final): @@ -53,6 +53,9 @@ Coding Style * Return value on line before function definition. * Brace on line after function definition. * Do not initialize local variables in their declarations. + * Line up function arguments in declarations. + * One variable declaration per line. + * Line up variable names in declarations. * Limit the use of function prototypes by defining functions in the file before they are used. * Whenever possible conditional expressions should not have side @@ -67,8 +70,6 @@ Coding Style beginning of the file. * Use gtk-doc style comments on public functions whenever possible. * In most cases, don't abbreviate words in function and variable names. - * Line up function arguments in declarations. - * Line up variable names in declarations. * Function names are lowercase, words separated by underscores. * Macros and enums are all uppercase, words seperated by underscores. @@ -81,3 +82,5 @@ Coding Style a warning or g_assert_not_reached. * Prefer glib functions over native ones when available. * Use glib string handling functions when possible. + + * When in doubt copy the style of the rest of the file.
\ No newline at end of file |