diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-08-06 12:57:48 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-08-06 13:02:54 +0200 |
commit | e6f348c72809abb38667448dd6f7fcf12db432a3 (patch) | |
tree | b47213bf4bacc7d46aa6dabed54bfa309e1b9aae /sfeed_plain.c | |
parent | b0dd38e9570cdf9125786639e9568ad4b5e8befa (diff) |
add USE_PLEDGE, remove pledge dummy function
Diffstat (limited to 'sfeed_plain.c')
-rw-r--r-- | sfeed_plain.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sfeed_plain.c b/sfeed_plain.c index ee836b5..79f6429 100644 --- a/sfeed_plain.c +++ b/sfeed_plain.c @@ -53,8 +53,10 @@ main(int argc, char *argv[]) char *name; int i; +#ifdef USE_PLEDGE if (pledge(argc == 1 ? "stdio" : "stdio rpath", NULL) == -1) err(1, "pledge"); +#endif if ((comparetime = time(NULL)) == -1) err(1, "time"); |