summaryrefslogtreecommitdiff
path: root/sfeed_opml_import.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2017-04-27 13:49:31 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2017-04-27 13:49:31 +0200
commit3151fc001cd5b980064afac8a1ce6a11526c4ab6 (patch)
treebc61ac404fbc5cadaa757cc88617a6b155a2303e /sfeed_opml_import.c
parent52c2768cf52358915d8659a60ca430eecbebb656 (diff)
simplify pledge stub
Diffstat (limited to 'sfeed_opml_import.c')
-rw-r--r--sfeed_opml_import.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sfeed_opml_import.c b/sfeed_opml_import.c
index c69986f..fdee71a 100644
--- a/sfeed_opml_import.c
+++ b/sfeed_opml_import.c
@@ -76,10 +76,8 @@ xml_handler_attrentity(XMLParser *p, const char *tag, size_t taglen,
int
main(void)
{
-#ifdef USE_PLEDGE
if (pledge("stdio", NULL) == -1)
err(1, "pledge");
-#endif
parser.xmlattr = xml_handler_attr;
parser.xmlattrentity = xml_handler_attrentity;