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)
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 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,
264void explicit_bzero(void *p, size_t n); 264void explicit_bzero(void *p, size_t n);
265#endif 265#endif
266 266
267#ifndef HAVE_PLEDGE
268int pledge(const char *promises, const char *paths[]);
269#endif /* HAVE_PLEDGE */
270
271void *xmmap(size_t size); 267void *xmmap(size_t size);
272char *xcrypt(const char *password, const char *salt); 268char *xcrypt(const char *password, const char *salt);
273char *shadow_pw(struct passwd *pw); 269char *shadow_pw(struct passwd *pw);