diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2016-01-30 12:22:21 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2016-01-30 12:22:21 +0000 |
commit | 267b3f47db2c8ca0def60713eecc659de828c615 (patch) | |
tree | 3acf0056998655a2bfd22e3dcf09916c8e4a46be /lib/libedit/prompt.c | |
parent | 6826fd225532abf68b46ad4ec785cbab2af1f71d (diff) |
Fourth step in synching with NetBSD:
KNF: Remove parentheses from return lines. No object change.
This makes emacs.c and prompt.c identical to the NetBSD versions.
It reduces the remaining diff from +2053 -1261 to +1526 -734.
OK czarkoff@
Diffstat (limited to 'lib/libedit/prompt.c')
-rw-r--r-- | lib/libedit/prompt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libedit/prompt.c b/lib/libedit/prompt.c index 092a000c271..5463bd21dcb 100644 --- a/lib/libedit/prompt.c +++ b/lib/libedit/prompt.c @@ -1,5 +1,5 @@ -/* $OpenBSD: prompt.c,v 1.10 2016/01/30 00:06:39 schwarze Exp $ */ -/* $NetBSD: prompt.c,v 1.18 2009/12/31 15:58:26 christos Exp $ */ +/* $OpenBSD: prompt.c,v 1.11 2016/01/30 12:22:20 schwarze Exp $ */ +/* $NetBSD: prompt.c,v 1.20 2011/07/29 15:16:33 christos Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -53,7 +53,7 @@ prompt_default(EditLine *el __attribute__((__unused__))) { static Char a[3] = {'?', ' ', '\0'}; - return (a); + return a; } @@ -66,7 +66,7 @@ prompt_default_r(EditLine *el __attribute__((__unused__))) { static Char a[1] = {'\0'}; - return (a); + return a; } |