diff options
author | Damien Miller <djm@mindrot.org> | 2015-11-30 10:53:25 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-11-30 10:53:25 +1100 |
commit | f0191d7c8e76e30551084b79341886d9bb38e453 (patch) | |
tree | 6a747d426a59eff9398474728ee529a68fff7a9f /openbsd-compat/openbsd-compat.h | |
parent | 6283cc72eb0e49a3470d30e07ca99a1ba9e89676 (diff) |
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.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h index be7b6877e..8cc8a11b7 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, | |||
264 | void explicit_bzero(void *p, size_t n); | 264 | void explicit_bzero(void *p, size_t n); |
265 | #endif | 265 | #endif |
266 | 266 | ||
267 | #ifndef HAVE_PLEDGE | ||
268 | int pledge(const char *promises, const char *paths[]); | ||
269 | #endif /* HAVE_PLEDGE */ | ||
270 | |||
271 | void *xmmap(size_t size); | 267 | void *xmmap(size_t size); |
272 | char *xcrypt(const char *password, const char *salt); | 268 | char *xcrypt(const char *password, const char *salt); |
273 | char *shadow_pw(struct passwd *pw); | 269 | char *shadow_pw(struct passwd *pw); |