summaryrefslogtreecommitdiffstats
path: root/uidswap.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-07-04 06:07:12 +0200
committerBen Lindstrom <mouring@eviladmin.org>2001-07-04 06:07:12 +0200
commitb4c774cf8878d9100fde92ff4e938671c3b0301b (patch)
treea2dff9a498a7c4cdeddace98c2c34c7a2e3689fb /uidswap.h
parent - itojun@cvs.openbsd.org 2001/06/26 06:32:58 (diff)
downloadopenssh-b4c774cf8878d9100fde92ff4e938671c3b0301b.tar.xz
openssh-b4c774cf8878d9100fde92ff4e938671c3b0301b.zip
- itojun@cvs.openbsd.org 2001/06/26 06:33:07
[servconf.h serverloop.h session.h sftp-client.h sftp-common.h sftp-glob.h sftp-int.h sshconnect.h ssh-dss.h sshlogin.h sshpty.h ssh-rsa.h tildexpand.h uidswap.h uuencode.h xmalloc.h] prototype pedant. not very creative... - () -> (void) - no variable names
Diffstat (limited to 'uidswap.h')
-rw-r--r--uidswap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/uidswap.h b/uidswap.h
index 228e5a5e9..9aea88367 100644
--- a/uidswap.h
+++ b/uidswap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uidswap.h,v 1.7 2001/04/06 21:00:17 markus Exp $ */
+/* $OpenBSD: uidswap.h,v 1.8 2001/06/26 06:33:06 itojun Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -19,7 +19,7 @@
* Temporarily changes to the given uid. If the effective user id is not
* root, this does nothing. This call cannot be nested.
*/
-void temporarily_use_uid(struct passwd *pw);
+void temporarily_use_uid(struct passwd *);
/*
* Restores the original effective user id after temporarily_use_uid().
@@ -31,6 +31,6 @@ void restore_uid(void);
* Permanently sets all uids to the given uid. This cannot be called while
* temporarily_use_uid is effective. This must also clear any saved uids.
*/
-void permanently_set_uid(struct passwd *pw);
+void permanently_set_uid(struct passwd *);
#endif /* UIDSWAP_H */