summaryrefslogtreecommitdiff
path: root/openbsd-compat/openbsd-compat.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2015-11-30 10:53:25 +1100
committerDamien Miller <djm@mindrot.org>2015-11-30 10:53:25 +1100
commitf0191d7c8e76e30551084b79341886d9bb38e453 (patch)
tree6a747d426a59eff9398474728ee529a68fff7a9f /openbsd-compat/openbsd-compat.h
parent6283cc72eb0e49a3470d30e07ca99a1ba9e89676 (diff)
downloadopenssh-git-f0191d7c8e76e30551084b79341886d9bb38e453.tar.gz
Revert "stub for pledge(2) for systems that lack it"
This reverts commit 14c887c8393adde2d9fd437d498be30f8c98535c. dtucker beat me to it :/
Diffstat (limited to 'openbsd-compat/openbsd-compat.h')
-rw-r--r--openbsd-compat/openbsd-compat.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h
index be7b6877..8cc8a11b 100644
--- a/openbsd-compat/openbsd-compat.h
+++ b/openbsd-compat/openbsd-compat.h
@@ -264,10 +264,6 @@ int bcrypt_pbkdf(const char *, size_t, const u_int8_t *, size_t,
void explicit_bzero(void *p, size_t n);
#endif
-#ifndef HAVE_PLEDGE
-int pledge(const char *promises, const char *paths[]);
-#endif /* HAVE_PLEDGE */
-
void *xmmap(size_t size);
char *xcrypt(const char *password, const char *salt);
char *shadow_pw(struct passwd *pw);