summaryrefslogtreecommitdiff
path: root/stagit.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2017-03-12 19:49:14 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2017-03-12 19:49:14 +0100
commite862768a1f396da6d013570941faefeced61351f (patch)
treef127dc0217dd50af0d466768ae7cacba6aca6580 /stagit.c
parent6b48169fa5d12348a550d588fa768f670c653da8 (diff)
simplify/shorten pledge stub
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