Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/openrc:master commit in: src/libeinfo/
Date: Wed, 13 Jul 2016 22:16:04
Message-Id: 1468447468.7f84b5d741c150cd159d5a3cda3ef532f0381826.williamh@OpenRC
1 commit: 7f84b5d741c150cd159d5a3cda3ef532f0381826
2 Author: Jaromil <jaromil <AT> dyne <DOT> org>
3 AuthorDate: Thu Jun 2 10:15:08 2016 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 13 22:04:28 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=7f84b5d7
7
8 libeinfo: document the x suffix on function names
9
10 This fixes #88.
11
12 src/libeinfo/einfo.h | 1 +
13 1 file changed, 1 insertion(+)
14
15 diff --git a/src/libeinfo/einfo.h b/src/libeinfo/einfo.h
16 index 58aedd9..83c2a79 100644
17 --- a/src/libeinfo/einfo.h
18 +++ b/src/libeinfo/einfo.h
19 @@ -71,6 +71,7 @@ void elog(int, const char * EINFO_RESTRICT, ...) EINFO_PRINTF(2, 3);
20 *
21 * The n suffix denotes that no new line should be printed.
22 * The v suffix means only print if EINFO_VERBOSE is yes.
23 + * The x suffix means function will exit() returning failure.
24 */
25 /*@{*/
26 int einfon(const char * __EINFO_RESTRICT, ...) EINFO_PRINTF(1, 2);