From e862768a1f396da6d013570941faefeced61351f Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sun, 12 Mar 2017 19:49:14 +0100 Subject: simplify/shorten pledge stub --- stagit-index.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'stagit-index.c') diff --git a/stagit-index.c b/stagit-index.c index 402568b..067dc30 100644 --- a/stagit-index.c +++ b/stagit-index.c @@ -22,11 +22,7 @@ static char *name = ""; static char owner[255]; #ifndef USE_PLEDGE -int -pledge(const char *promises, const char *paths[]) -{ - return 0; -} +#define pledge(p1,p2) 0 #endif void -- cgit v1.2.3