diff options
-rw-r--r-- | stagit-index.c | 6 | ||||
-rw-r--r-- | stagit.c | 6 |
2 files changed, 2 insertions, 10 deletions
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 @@ -69,11 +69,7 @@ static FILE *rcachefp, *wcachefp; static const char *cachefile; #ifndef USE_PLEDGE -int -pledge(const char *promises, const char *paths[]) -{ - return 0; -} +#define pledge(p1,p2) 0 #endif void |