summaryrefslogtreecommitdiff
path: root/stagit-index.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-index.c
parent6b48169fa5d12348a550d588fa768f670c653da8 (diff)
simplify/shorten pledge stub
Diffstat (limited to 'stagit-index.c')
-rw-r--r--stagit-index.c6
1 files changed, 1 insertions, 5 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