diff options
author | Kjell Wooding <kjell@cvs.openbsd.org> | 2005-12-13 07:20:14 +0000 |
---|---|---|
committer | Kjell Wooding <kjell@cvs.openbsd.org> | 2005-12-13 07:20:14 +0000 |
commit | f1c3e1543334e62723b596b3e7529d51f8ae559e (patch) | |
tree | dda8ee662a7152400a6c69723ef1c86352417cda /usr.bin/mg/dired.c | |
parent | 5cd76579013633c8efd815e096c26ad86304e740 (diff) |
Last round of easy delinting.
Diffstat (limited to 'usr.bin/mg/dired.c')
-rw-r--r-- | usr.bin/mg/dired.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mg/dired.c b/usr.bin/mg/dired.c index e9804531982..f276084229d 100644 --- a/usr.bin/mg/dired.c +++ b/usr.bin/mg/dired.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dired.c,v 1.33 2005/12/13 06:01:27 kjell Exp $ */ +/* $OpenBSD: dired.c,v 1.34 2005/12/13 07:20:13 kjell Exp $ */ /* This file is in the public domain. */ @@ -35,7 +35,7 @@ static int d_del(int, int); static int d_rename(int, int); static int d_shell_command(int, int); static int d_create_directory(int, int); -static int d_makename(struct line *, char *, int); +static int d_makename(struct line *, char *, size_t); extern struct keymap_s helpmap, cXmap, metamap; @@ -556,7 +556,7 @@ d_create_directory(int f, int n) #define NAME_FIELD 8 static int -d_makename(struct line *lp, char *fn, int len) +d_makename(struct line *lp, char *fn, size_t len) { int i; char *p, *ep; |