diff options
-rw-r--r-- | usr.bin/mg/buffer.c | 8 | ||||
-rw-r--r-- | usr.bin/mg/def.h | 4 | ||||
-rw-r--r-- | usr.bin/mg/display.c | 6 | ||||
-rw-r--r-- | usr.bin/mg/fileio.c | 4 | ||||
-rw-r--r-- | usr.bin/mg/grep.c | 6 | ||||
-rw-r--r-- | usr.bin/mg/main.c | 4 | ||||
-rw-r--r-- | usr.bin/mg/undo.c | 4 | ||||
-rw-r--r-- | usr.bin/mg/yank.c | 4 |
8 files changed, 20 insertions, 20 deletions
diff --git a/usr.bin/mg/buffer.c b/usr.bin/mg/buffer.c index ebad92d36bf..2e5ee8b1ce8 100644 --- a/usr.bin/mg/buffer.c +++ b/usr.bin/mg/buffer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: buffer.c,v 1.65 2006/11/18 23:05:24 kjell Exp $ */ +/* $OpenBSD: buffer.c,v 1.66 2006/11/19 16:51:19 deraadt Exp $ */ /* This file is in the public domain. */ @@ -484,12 +484,12 @@ bfind(const char *bname, int cflag) /* * Create a new buffer and put it in the list of - * all buffers. + * all buffers. */ static struct buffer * bnew(const char *bname) { - struct buffer *bp; + struct buffer *bp; struct line *lp; int i; @@ -631,7 +631,7 @@ showbuffer(struct buffer *bp, struct mgwin *wp, int flags) int augbname(char *bn, const char *fn, size_t bs) { - int count; + int count; size_t remain, len; len = strlcpy(bn, basename(fn), bs); diff --git a/usr.bin/mg/def.h b/usr.bin/mg/def.h index a7bb7c62cf7..45c03a58ae3 100644 --- a/usr.bin/mg/def.h +++ b/usr.bin/mg/def.h @@ -1,4 +1,4 @@ -/* $OpenBSD: def.h,v 1.97 2006/11/17 08:45:31 kjell Exp $ */ +/* $OpenBSD: def.h,v 1.98 2006/11/19 16:51:19 deraadt Exp $ */ /* This file is in the public domain. */ @@ -43,7 +43,7 @@ typedef int (*PF)(int, int); /* generally useful type */ #define TRUE 1 /* True, yes, good, etc. */ #define ABORT 2 /* Death, ^G, abort, etc. */ -#define KCLEAR 2 /* clear echo area */ +#define KCLEAR 2 /* clear echo area */ /* * These flag bits keep track of diff --git a/usr.bin/mg/display.c b/usr.bin/mg/display.c index a70f1fdd98d..549c518faf6 100644 --- a/usr.bin/mg/display.c +++ b/usr.bin/mg/display.c @@ -1,4 +1,4 @@ -/* $OpenBSD: display.c,v 1.30 2006/07/25 08:22:32 kjell Exp $ */ +/* $OpenBSD: display.c,v 1.31 2006/11/19 16:51:19 deraadt Exp $ */ /* This file is in the public domain. */ @@ -104,7 +104,7 @@ struct score *score; /* [NROW * NROW] */ #ifndef LINENOMODE #define LINENOMODE TRUE #endif /* !LINENOMODE */ -static int linenos = LINENOMODE; +static int linenos = LINENOMODE; /* * Since we don't have variables (we probably should) this is a command @@ -119,7 +119,7 @@ linenotoggle(int f, int n) else linenos = !linenos; - sgarbf = TRUE; + sgarbf = TRUE; return (TRUE); } diff --git a/usr.bin/mg/fileio.c b/usr.bin/mg/fileio.c index 2ad4967f8da..82e8d978fc5 100644 --- a/usr.bin/mg/fileio.c +++ b/usr.bin/mg/fileio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fileio.c,v 1.78 2006/09/19 05:52:23 otto Exp $ */ +/* $OpenBSD: fileio.c,v 1.79 2006/11/19 16:51:19 deraadt Exp $ */ /* This file is in the public domain. */ @@ -421,7 +421,7 @@ make_file_list(char *buf) char prefixx[NFILEN + 1]; /* - * We need three different strings: + * We need three different strings: * dir - the name of the directory containing what the user typed. * Must be a real unix file name, e.g. no ~user, etc.. diff --git a/usr.bin/mg/grep.c b/usr.bin/mg/grep.c index b2258760324..0b580163f17 100644 --- a/usr.bin/mg/grep.c +++ b/usr.bin/mg/grep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grep.c,v 1.32 2006/07/25 08:27:09 kjell Exp $ */ +/* $OpenBSD: grep.c,v 1.33 2006/11/19 16:51:19 deraadt Exp $ */ /* * Copyright (c) 2001 Artur Grabowski <art@openbsd.org>. * Copyright (c) 2005 Kjell Wooding <kjell@openbsd.org>. @@ -303,7 +303,7 @@ compile_goto_error(int f, int n) /* last line is compilation result */ if (curwp->w_dotp == last) return (FALSE); - + if ((line = linetostr(curwp->w_dotp)) == NULL) return (FALSE); lp = line; @@ -314,7 +314,7 @@ compile_goto_error(int f, int n) lineno = (int)strtonum(ln, INT_MIN, INT_MAX, &errstr); if (errstr) goto fail; - + if (fname && fname[0] != '/') { (void)strlcpy(path, curbp->b_cwd, sizeof(path)); if (strlcat(path, fname, sizeof(path)) >= sizeof(path)) diff --git a/usr.bin/mg/main.c b/usr.bin/mg/main.c index 6d743f1844a..538ae32a942 100644 --- a/usr.bin/mg/main.c +++ b/usr.bin/mg/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.54 2006/07/25 08:22:32 kjell Exp $ */ +/* $OpenBSD: main.c,v 1.55 2006/11/19 16:51:19 deraadt Exp $ */ /* This file is in the public domain. */ @@ -20,7 +20,7 @@ int thisflag; /* flags, this command */ int lastflag; /* flags, last command */ int curgoal; /* goal column */ int startrow; /* row to start */ -struct buffer *curbp; /* current buffer */ +struct buffer *curbp; /* current buffer */ struct buffer *bheadp; /* BUFFER list head */ struct mgwin *curwp; /* current window */ struct mgwin *wheadp; /* MGWIN listhead */ diff --git a/usr.bin/mg/undo.c b/usr.bin/mg/undo.c index c7703d194c8..ebad7bee71b 100644 --- a/usr.bin/mg/undo.c +++ b/usr.bin/mg/undo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: undo.c,v 1.42 2006/11/17 08:45:31 kjell Exp $ */ +/* $OpenBSD: undo.c,v 1.43 2006/11/19 16:51:19 deraadt Exp $ */ /* * Copyright (c) 2002 Vincent Labrecque <vincent@openbsd.org> * Copyright (c) 2005, 2006 Kjell Wooding <kjell@openbsd.org> @@ -36,7 +36,7 @@ static LIST_HEAD(, undo_rec) undo_free; static int undo_free_num; static int boundary_flag = TRUE; -static int undo_enable_flag = TRUE; +static int undo_enable_flag = TRUE; /* * Local functions diff --git a/usr.bin/mg/yank.c b/usr.bin/mg/yank.c index 12710331d1a..42dfa1ecfb5 100644 --- a/usr.bin/mg/yank.c +++ b/usr.bin/mg/yank.c @@ -1,4 +1,4 @@ -/* $OpenBSD: yank.c,v 1.5 2006/11/17 08:45:31 kjell Exp $ */ +/* $OpenBSD: yank.c,v 1.6 2006/11/19 16:51:19 deraadt Exp $ */ /* This file is in the public domain. */ @@ -42,7 +42,7 @@ kdelete(void) * that if you put something in the kill buffer you are going to put more * stuff there too later. Return TRUE if all is well, and FALSE on errors. * Print a message on errors. Dir says whether to put it at back or front. - * This call is ignored if KNONE is set. + * This call is ignored if KNONE is set. */ int kinsert(int c, int dir) |