summaryrefslogtreecommitdiff
path: root/usr.bin/rcs
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2006-07-31 06:51:56 +0000
committerRay Lai <ray@cvs.openbsd.org>2006-07-31 06:51:56 +0000
commited3b5c89edb3ffd854af53d99e8be4d93ef90589 (patch)
treef89e55361937cf86cdb66c6f1ef2bbd75f3fecde /usr.bin/rcs
parente9fe007d506ddbbb2153f193ad78706a914a3432 (diff)
Minor KNF.
OK xsa@
Diffstat (limited to 'usr.bin/rcs')
-rw-r--r--usr.bin/rcs/rcsdiff.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/usr.bin/rcs/rcsdiff.c b/usr.bin/rcs/rcsdiff.c
index d99f1445ed2..01774e8e7ab 100644
--- a/usr.bin/rcs/rcsdiff.c
+++ b/usr.bin/rcs/rcsdiff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsdiff.c,v 1.67 2006/07/08 09:25:44 ray Exp $ */
+/* $OpenBSD: rcsdiff.c,v 1.68 2006/07/31 06:51:55 ray Exp $ */
/*
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -101,7 +101,7 @@ rcsdiff_main(int argc, char **argv)
break;
default:
(usage)();
- exit (D_ERROR);
+ exit(D_ERROR);
}
}
@@ -271,11 +271,10 @@ out:
static int
rcsdiff_rev(RCSFILE *file, RCSNUM *rev1, RCSNUM *rev2)
{
- int ret;
- char *path1, *path2;
- BUF *b1, *b2;
- char rbuf1[64], rbuf2[64];
struct timeval tv[2], tv2[2];
+ BUF *b1, *b2;
+ int ret;
+ char *path1, *path2, rbuf1[64], rbuf2[64];
ret = D_ERROR;
b1 = b2 = NULL;