summaryrefslogtreecommitdiff
path: root/bin/ksh/sh.h
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2015-11-07 20:48:29 +0000
committermmcc <mmcc@cvs.openbsd.org>2015-11-07 20:48:29 +0000
commitaae7b7ebe81ba98596f22f2f87fed605c217e067 (patch)
tree84e5a1749a54f5e2f5d8e540f8b5a2f20471e25b /bin/ksh/sh.h
parent51305be46c497f4ccc479da5c510e7c3ead8d22a (diff)
Make it clearer that warningf()'s first argument determines whether the
lineno is printed. ok nicm@
Diffstat (limited to 'bin/ksh/sh.h')
-rw-r--r--bin/ksh/sh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ksh/sh.h b/bin/ksh/sh.h
index f9473c3c732..fd36627b7c0 100644
--- a/bin/ksh/sh.h
+++ b/bin/ksh/sh.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sh.h,v 1.51 2015/11/01 15:38:53 mmcc Exp $ */
+/* $OpenBSD: sh.h,v 1.52 2015/11/07 20:48:28 mmcc Exp $ */
/*
* Public Domain Bourne/Korn shell
@@ -478,7 +478,7 @@ char **hist_get_newest(int);
/* io.c */
void errorf(const char *, ...)
__attribute__((__noreturn__, __format__ (printf, 1, 2)));
-void warningf(int, const char *, ...)
+void warningf(bool, const char *, ...)
__attribute__((__format__ (printf, 2, 3)));
void bi_errorf(const char *, ...)
__attribute__((__format__ (printf, 1, 2)));