diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-11-08 15:35:32 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-08 15:35:32 -0800 |
commit | f3fa1838024dc0f3741d2f9654af92f6a1bb34bd (patch) | |
tree | 0a8ba5a56fe117125b506ea9529186aeb1c97ff4 /daemon.c | |
parent | 5c355059c379a55366bed573d4e65dba4b5a0565 (diff) | |
download | git-f3fa1838024dc0f3741d2f9654af92f6a1bb34bd.tar.gz |
Style: place opening brace of a function definition at column 1
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'daemon.c')
-rw-r--r-- | daemon.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -406,7 +406,8 @@ static struct daemon_service daemon_service[] = { { "receive-pack", "receivepack", receive_pack, 0, 1 }, }; -static void enable_service(const char *name, int ena) { +static void enable_service(const char *name, int ena) +{ int i; for (i = 0; i < ARRAY_SIZE(daemon_service); i++) { if (!strcmp(daemon_service[i].name, name)) { @@ -417,7 +418,8 @@ static void enable_service(const char *name, int ena) { die("No such service %s", name); } -static void make_service_overridable(const char *name, int ena) { +static void make_service_overridable(const char *name, int ena) +{ int i; for (i = 0; i < ARRAY_SIZE(daemon_service); i++) { if (!strcmp(daemon_service[i].name, name)) { |