diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-10-13 20:28:50 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-10-13 20:28:50 +0000 |
commit | 5b785c25202e85d954c1248ca4dc16276ff3aa62 (patch) | |
tree | f1b10311554550904209a9531ad3969c92514bb4 /usr.bin | |
parent | a72ced90ddf0930ee6a27432516e5a882800a30e (diff) |
spacing
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/mg/autoexec.c | 4 | ||||
-rw-r--r-- | usr.bin/mg/buffer.c | 4 | ||||
-rw-r--r-- | usr.bin/mg/file.c | 4 | ||||
-rw-r--r-- | usr.bin/mg/grep.c | 8 | ||||
-rw-r--r-- | usr.bin/mg/keymap.c | 4 | ||||
-rw-r--r-- | usr.bin/mg/line.c | 4 | ||||
-rw-r--r-- | usr.bin/mg/undo.c | 6 |
7 files changed, 17 insertions, 17 deletions
diff --git a/usr.bin/mg/autoexec.c b/usr.bin/mg/autoexec.c index b3b1542545c..94784db8383 100644 --- a/usr.bin/mg/autoexec.c +++ b/usr.bin/mg/autoexec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoexec.c,v 1.8 2005/08/09 00:53:47 kjell Exp $ */ +/* $OpenBSD: autoexec.c,v 1.9 2005/10/13 20:28:49 deraadt Exp $ */ /* this file is in the public domain */ /* Author: Vincent Labrecque <vincent@openbsd.org> April 2002 */ @@ -56,7 +56,7 @@ find_autoexec(const char *fname) int add_autoexec(const char *pattern, const char *func) { - PF fp; + PF fp; struct autoexec *ae; if (!ready) { diff --git a/usr.bin/mg/buffer.c b/usr.bin/mg/buffer.c index 204156437b3..18301b0cefe 100644 --- a/usr.bin/mg/buffer.c +++ b/usr.bin/mg/buffer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: buffer.c,v 1.47 2005/10/13 05:34:11 kjell Exp $ */ +/* $OpenBSD: buffer.c,v 1.48 2005/10/13 20:28:49 deraadt Exp $ */ /* This file is in the public domain. */ @@ -125,7 +125,7 @@ killbuffer(BUFFER *bp) BUFFER *bp2; MGWIN *wp; int s; - struct undo_rec *rec, *next; + struct undo_rec *rec, *next; /* * Find some other buffer to display. Try the alternate buffer, diff --git a/usr.bin/mg/file.c b/usr.bin/mg/file.c index fbae3a2dac9..7da16e9e96a 100644 --- a/usr.bin/mg/file.c +++ b/usr.bin/mg/file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.41 2005/10/13 20:23:01 kjell Exp $ */ +/* $OpenBSD: file.c,v 1.42 2005/10/13 20:28:49 deraadt Exp $ */ /* This file is in the public domain. */ @@ -188,7 +188,7 @@ findbuffer(char *fname) } i = strlcpy(bname, basename(fname), sizeof(bname)); if (i >= sizeof(bname)) - return NULL; + return NULL; remain = sizeof(bname) - i; for (count = 2; bfind(bname, FALSE) != NULL; count++) snprintf(&bname[i], remain, "<%d>", count); diff --git a/usr.bin/mg/grep.c b/usr.bin/mg/grep.c index 4220e55b69c..c61bbef8f66 100644 --- a/usr.bin/mg/grep.c +++ b/usr.bin/mg/grep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grep.c,v 1.18 2005/10/13 05:24:52 kjell Exp $ */ +/* $OpenBSD: grep.c,v 1.19 2005/10/13 20:28:49 deraadt Exp $ */ /* * Copyright (c) 2001 Artur Grabowski <art@openbsd.org>. * Copyright (c) 2005 Kjell Wooding <kjell@openbsd.org>. @@ -218,7 +218,7 @@ compile_mode(char *name, char *command, char *path) char *buf; size_t len; int ret; - char *wdir, cwd[NFILEN]; + char *wdir, cwd[NFILEN]; char timestr[NTIME]; time_t t; @@ -235,7 +235,7 @@ compile_mode(char *name, char *command, char *path) if (chdir(path) == -1) { ewprintf("Can't change dir to %s", path); return (NULL); - } + } if ((pipe = popen(command, "r")) == NULL) { ewprintf("Problem opening pipe"); return (NULL); @@ -269,7 +269,7 @@ compile_mode(char *name, char *command, char *path) if (chdir(cwd) == -1) { ewprintf("Can't change dir back to %s", cwd); return (NULL); - } + } return (bp); } diff --git a/usr.bin/mg/keymap.c b/usr.bin/mg/keymap.c index 41a82b81d77..5e0b4e933a5 100644 --- a/usr.bin/mg/keymap.c +++ b/usr.bin/mg/keymap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: keymap.c,v 1.34 2005/10/13 06:20:25 kjell Exp $ */ +/* $OpenBSD: keymap.c,v 1.35 2005/10/13 20:28:49 deraadt Exp $ */ /* This file is in the public domain. */ @@ -446,7 +446,7 @@ static struct KEYMAPE (1 + IMAPEXT) overwmap = { /* * The basic (root) keyboard map - */ + */ MAPS fundamental_mode = { (KEYMAP *)&fundmap, "fundamental" }; /* diff --git a/usr.bin/mg/line.c b/usr.bin/mg/line.c index 2d7fd220b7b..0831136110a 100644 --- a/usr.bin/mg/line.c +++ b/usr.bin/mg/line.c @@ -1,4 +1,4 @@ -/* $OpenBSD: line.c,v 1.24 2005/10/06 16:48:00 kjell Exp $ */ +/* $OpenBSD: line.c,v 1.25 2005/10/13 20:28:49 deraadt Exp $ */ /* This file is in the public domain. */ @@ -588,7 +588,7 @@ lreplace(RSIZE plen, char *st, int f) } undo_add_boundary(); undo_no_boundary(TRUE); - + (void)backchar(FFARG | FFRAND, (int)plen); (void)ldelete(plen, KNONE); diff --git a/usr.bin/mg/undo.c b/usr.bin/mg/undo.c index a96d1d5a491..65f13dcd4d8 100644 --- a/usr.bin/mg/undo.c +++ b/usr.bin/mg/undo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: undo.c,v 1.30 2005/10/13 20:07:26 kjell Exp $ */ +/* $OpenBSD: undo.c,v 1.31 2005/10/13 20:28:49 deraadt Exp $ */ /* * Copyright (c) 2002 Vincent Labrecque <vincent@openbsd.org> * All rights reserved. @@ -215,7 +215,7 @@ undo_add_boundary(void) if (lastrectype() == BOUNDARY) return (TRUE); - + rec = new_undo_record(); rec->type = BOUNDARY; @@ -429,7 +429,7 @@ int undo(int f, int n) { struct undo_rec *ptr, *nptr; - int done, rval; + int done, rval; LINE *lp; int offset, save, dot; static int nulled = FALSE; |