From 55b6717ad1bd4737ea2dd30712612acf789c6ad8 Mon Sep 17 00:00:00 2001 From: Stathis Kamperis Date: Sat, 12 Jan 2008 13:47:30 +0100 Subject: [PATCH] Conform to NetBSD KNF due to possible inclusion in source tree --- proplib/prop_expand.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/proplib/prop_expand.c b/proplib/prop_expand.c index 4c03434..4594612 100644 --- a/proplib/prop_expand.c +++ b/proplib/prop_expand.c @@ -5,13 +5,15 @@ #define NUM_STRINGS 50 -int main(void) +int +main(void) { prop_array_t pa; prop_string_t ps; int i; - /* Create array object with initial capacity 10 + /* + * Create array object with initial capacity 10 * Note that the array will expand on demand * by the prop_array_add() with `EXPAND_STEP' step * as defined in libprop/prop_array.c @@ -20,7 +22,8 @@ int main(void) if (pa == NULL) errx(EXIT_FAILURE, "prop_array_create_with_capacity()"); - /* Add up to `NUM_STRINGS' prop_string_t objects + /* + * Add up to `NUM_STRINGS' prop_string_t objects * and watch how the array expands on demand */ for (i = 0; i < NUM_STRINGS; i++) { -- 2.11.4.GIT