summaryrefslogtreecommitdiffstats
path: root/lib/libedit/prompt.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2016-01-30 12:22:20 +0000
committerschwarze <schwarze@openbsd.org>2016-01-30 12:22:20 +0000
commit28d54ee83c6affd52032b6242140cc317714b94c (patch)
tree0ef5cda3e75bd5bab700bd54a1d43f60de5abb7b /lib/libedit/prompt.c
parentExplain how to run multiple copies of the same daemon; (diff)
downloadwireguard-openbsd-28d54ee83c6affd52032b6242140cc317714b94c.tar.xz
wireguard-openbsd-28d54ee83c6affd52032b6242140cc317714b94c.zip
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.c8
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;
}