ansilove

ANSI and ASCII art to PNG converter in C
Log | Files | Refs | README | LICENSE

commit 2ce8b9d1d48c967b96c92cd47f299ba276be33dc
parent ba092eb82f31752af5539f57b7dcf85c6c3c51f5
Author: Frederic Cambus <fred@statdns.com>
Date:   Mon, 18 Dec 2017 23:13:37 +0100

Reflect OpenBSD's pledge() changes

Diffstat:
Mcompat/pledge.c | 4++--
Mcompat/pledge.h | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/compat/pledge.c b/compat/pledge.c @@ -1,6 +1,6 @@ int -pledge(const char *promises, const char *paths[]) { +pledge(const char *promises, const char *execpromises) { (void)promises; - (void)paths; + (void)execpromises; return 0; } diff --git a/compat/pledge.h b/compat/pledge.h @@ -1 +1 @@ -int pledge(const char *, const char **); +int pledge(const char *, const char *);