diff options
author | Damien Miller <djm@mindrot.org> | 2003-05-18 16:13:38 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-05-18 16:13:38 +0200 |
commit | 317412502b900ddecdafdfa171da99271846478b (patch) | |
tree | 2e04f618288cdf0c16a98b675b28b8287a15a0c6 /openbsd-compat/port-irix.c | |
parent | - (djm) Sync openbsd-compat/ with OpenBSD CVS head (diff) | |
download | openssh-317412502b900ddecdafdfa171da99271846478b.tar.xz openssh-317412502b900ddecdafdfa171da99271846478b.zip |
- (djm) Big KNF on openbsd-compat/
Diffstat (limited to 'openbsd-compat/port-irix.c')
-rw-r--r-- | openbsd-compat/port-irix.c | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/openbsd-compat/port-irix.c b/openbsd-compat/port-irix.c index a63ec429a..1b212980d 100644 --- a/openbsd-compat/port-irix.c +++ b/openbsd-compat/port-irix.c @@ -1,15 +1,19 @@ +/* XXX - BSD license here */ + #include "includes.h" -#if defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY) +#if defined(WITH_IRIX_PROJECT) || \ + defined(WITH_IRIX_JOBS) || \ + defined(WITH_IRIX_ARRAY) #ifdef WITH_IRIX_PROJECT -#include <proj.h> +# include <proj.h> #endif /* WITH_IRIX_PROJECT */ #ifdef WITH_IRIX_JOBS -#include <sys/resource.h> +# include <sys/resource.h> #endif #ifdef WITH_IRIX_AUDIT -#include <sat.h> +# include <sat.h> #endif /* WITH_IRIX_AUDIT */ void @@ -17,14 +21,12 @@ irix_setusercontext(struct passwd *pw) { #ifdef WITH_IRIX_PROJECT prid_t projid; -#endif /* WITH_IRIX_PROJECT */ +#endif #ifdef WITH_IRIX_JOBS jid_t jid = 0; -#else -# ifdef WITH_IRIX_ARRAY +#elif defined(WITH_IRIX_ARRAY) int jid = 0; -# endif /* WITH_IRIX_ARRAY */ -#endif /* WITH_IRIX_JOBS */ +#endif #ifdef WITH_IRIX_JOBS jid = jlimit_startjob(pw->pw_name, pw->pw_uid, "interactive"); |