From 86c5d5e5f1a6075b26d8d120e833536b9e77ae4a Mon Sep 17 00:00:00 2001 From: Max Okumoto Date: Tue, 8 Feb 2005 02:07:03 +0000 Subject: [PATCH] - Add brace around switch statement. - Cleanup white space in var.h --- usr.bin/make/var.c | 5 +++-- usr.bin/make/var.h | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c index e261c45ee1..23b11ecd68 100644 --- a/usr.bin/make/var.c +++ b/usr.bin/make/var.c @@ -37,7 +37,7 @@ * * @(#)var.c 8.3 (Berkeley) 3/19/94 * $FreeBSD: src/usr.bin/make/var.c,v 1.16.2.3 2002/02/27 14:18:57 cjc Exp $ - * $DragonFly: src/usr.bin/make/var.c,v 1.65 2005/02/07 20:09:45 okumoto Exp $ + * $DragonFly: src/usr.bin/make/var.c,v 1.66 2005/02/08 02:07:03 okumoto Exp $ */ /*- @@ -232,7 +232,7 @@ VarFind(const char *name, GNode *ctxt, int flags) * and substitute the short version in for 'name' if it matches one of * them. */ - if (name[0] == '.') + if (name[0] == '.') { switch (name[1]) { case 'A': if (!strcmp(name, ".ALLSRC")) @@ -263,6 +263,7 @@ VarFind(const char *name, GNode *ctxt, int flags) default: break; } + } /* * Note whether this is one of the specific variables we were told through diff --git a/usr.bin/make/var.h b/usr.bin/make/var.h index 0a6f26f1cc..ce2b8f3d00 100644 --- a/usr.bin/make/var.h +++ b/usr.bin/make/var.h @@ -37,7 +37,7 @@ * SUCH DAMAGE. * * $FreeBSD: src/usr.bin/make/var.h,v 1.1 2002/10/28 23:33:57 jmallett Exp $ - * $DragonFly: src/usr.bin/make/var.h,v 1.13 2005/02/06 23:17:16 okumoto Exp $ + * $DragonFly: src/usr.bin/make/var.h,v 1.14 2005/02/08 02:07:03 okumoto Exp $ */ #ifndef var_h_9cccafce @@ -92,7 +92,7 @@ typedef struct { int flags; } VarREPattern; -typedef Boolean VarModifyProc(const char *, Boolean , struct Buffer *, void *); +typedef Boolean VarModifyProc(const char *, Boolean, struct Buffer *, void *); /* * var.c -- 2.41.0