aboutsummaryrefslogtreecommitdiff
path: root/daemon.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-11-08 15:35:32 -0800
committerJunio C Hamano <gitster@pobox.com>2007-11-08 15:35:32 -0800
commitf3fa1838024dc0f3741d2f9654af92f6a1bb34bd (patch)
tree0a8ba5a56fe117125b506ea9529186aeb1c97ff4 /daemon.c
parent5c355059c379a55366bed573d4e65dba4b5a0565 (diff)
downloadgit-f3fa1838024dc0f3741d2f9654af92f6a1bb34bd.tar.gz
git-f3fa1838024dc0f3741d2f9654af92f6a1bb34bd.tar.xz
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.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/daemon.c b/daemon.c
index b8df980dc..41a60af62 100644
--- a/daemon.c
+++ b/daemon.c
@@ -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)) {