summaryrefslogtreecommitdiff
path: root/stagit.c
diff options
context:
space:
mode:
Diffstat (limited to 'stagit.c')
-rw-r--r--stagit.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/stagit.c b/stagit.c
index 973543f..c3693c7 100644
--- a/stagit.c
+++ b/stagit.c
@@ -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