summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-06-01 18:24:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-06-01 18:24:02 +0000
commit60ec726641e4fd8cec6667ccff45042632ca551d (patch)
treea0560d14497cf54780cb1a013a4d713a2c760a52 /usr.sbin/smtpd/smtpd.h
parent2d1386bf8aee8631a47cac75965392ee2b922f08 (diff)
No need for save_getpwuid and such functions which call endpwent.
endpwent is not needed unless setpwent (with stayopen = 1) or getpwent was used. getpwuid/getpwnam do not use getpwent; i think people must be assuming this. we are going to improve the man pages for this. ok gilles
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r--usr.sbin/smtpd/smtpd.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index b59fdfc812e..f81e7af22da 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.120 2009/05/30 23:53:41 gilles Exp $ */
+/* $OpenBSD: smtpd.h,v 1.121 2009/06/01 18:24:01 deraadt Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -1009,8 +1009,6 @@ void addargs(arglist *, char *, ...)
int bsnprintf(char *, size_t, const char *, ...)
__attribute__ ((format (printf, 3, 4)));
int safe_fclose(FILE *);
-struct passwd *safe_getpwnam(const char *);
-struct passwd *safe_getpwuid(uid_t);
int hostname_match(char *, char *);
int recipient_to_path(struct path *, char *);
int valid_localpart(char *);