]> git.armaanb.net Git - stagit.git/blobdiff - stagit.c
simplify/shorten pledge stub
[stagit.git] / stagit.c
index 973543f17f3aedbfb28a880de529411439352391..c3693c70d769c8a428f8400d009e2f546a293864 100644 (file)
--- 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