diff options
author | Kjell Wooding <kjell@cvs.openbsd.org> | 2002-06-03 17:53:33 +0000 |
---|---|---|
committer | Kjell Wooding <kjell@cvs.openbsd.org> | 2002-06-03 17:53:33 +0000 |
commit | 8d37422a69589ab037ccece32670f9bcbdb3d329 (patch) | |
tree | c9d163586756b840eb9c64fe2ccfe51c33710954 /usr.bin/spell/look.c | |
parent | 516364eba6479ea4a301d76d0a0d0f5304ed990a (diff) |
KNF [return(foo) -> return (foo)]. ok millert@
Diffstat (limited to 'usr.bin/spell/look.c')
-rw-r--r-- | usr.bin/spell/look.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/spell/look.c b/usr.bin/spell/look.c index 1aba6552e9e..ddf14bc3ca9 100644 --- a/usr.bin/spell/look.c +++ b/usr.bin/spell/look.c @@ -1,4 +1,4 @@ -/* $OpenBSD: look.c,v 1.1 2002/03/01 22:01:11 millert Exp $ */ +/* $OpenBSD: look.c,v 1.2 2002/06/03 17:53:32 kjell Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -40,7 +40,7 @@ #if 0 static const char sccsid[] = "@(#)look.c 8.2 (Berkeley) 5/4/95"; #endif -static const char rcsid[] = "$OpenBSD: look.c,v 1.1 2002/03/01 22:01:11 millert Exp $"; +static const char rcsid[] = "$OpenBSD: look.c,v 1.2 2002/06/03 17:53:32 kjell Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -155,9 +155,9 @@ linear_search(u_char *string, u_char *front, u_char *back) while (front < back) { result = compare(string, front, back); if (result == 0) - return(front); /* found it */ + return (front); /* found it */ if (result < 0) - return(NULL); /* not there */ + return (NULL); /* not there */ SKIP_PAST_NEWLINE(front, back); } @@ -178,8 +178,8 @@ compare(u_char *s1, u_char *s2, u_char *back) else ch = *s2; if (*s1 != ch) - return(*s1 - ch); + return (*s1 - ch); if (ch == '\0') - return(0); + return (0); } } |