summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-cray.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-05-19 00:13:38 +1000
committerDamien Miller <djm@mindrot.org>2003-05-19 00:13:38 +1000
commit317412502b900ddecdafdfa171da99271846478b (patch)
tree2e04f618288cdf0c16a98b675b28b8287a15a0c6 /openbsd-compat/bsd-cray.h
parente323df6c4851b04386e747a009474f469fe97137 (diff)
- (djm) Big KNF on openbsd-compat/
Diffstat (limited to 'openbsd-compat/bsd-cray.h')
-rw-r--r--openbsd-compat/bsd-cray.h27
1 files changed, 15 insertions, 12 deletions
diff --git a/openbsd-compat/bsd-cray.h b/openbsd-compat/bsd-cray.h
index d2489f4bf..433144f6f 100644
--- a/openbsd-compat/bsd-cray.h
+++ b/openbsd-compat/bsd-cray.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * $Id: bsd-cray.h,v 1.8 2003/05/02 13:42:25 dtucker Exp $ 2 * $Id: bsd-cray.h,v 1.9 2003/05/18 14:13:39 djm Exp $
3 * 3 *
4 * bsd-cray.h 4 * bsd-cray.h
5 * 5 *
@@ -38,23 +38,26 @@
38#define _BSD_CRAY_H 38#define _BSD_CRAY_H
39 39
40#ifdef _UNICOS 40#ifdef _UNICOS
41void cray_init_job(struct passwd *); /* init cray job */ 41
42void cray_job_termination_handler(int); /* process end of job signal */ 42void cray_init_job(struct passwd *);
43void cray_login_failure(char *username, int errcode); 43void cray_job_termination_handler(int);
44int cray_access_denied(char *username); 44void cray_login_failure(char *, int );
45int cray_access_denied(char *);
45#define CUSTOM_FAILED_LOGIN 1 46#define CUSTOM_FAILED_LOGIN 1
46void record_failed_login(const char *user, const char *ttyname); 47void record_failed_login(const char *, const char *);
47extern char cray_tmpdir[]; /* cray tmpdir */ 48extern char cray_tmpdir[];
49
48#ifndef IA_SSHD 50#ifndef IA_SSHD
49#define IA_SSHD IA_LOGIN 51# define IA_SSHD IA_LOGIN
50#endif 52#endif
51#ifndef MAXHOSTNAMELEN 53#ifndef MAXHOSTNAMELEN
52#define MAXHOSTNAMELEN 64 54# define MAXHOSTNAMELEN 64
53#endif 55#endif
54#ifndef _CRAYT3E 56#ifndef _CRAYT3E
55#include <sys/ttold.h> 57# include <sys/ttold.h>
56#define TIOCGPGRP (tIOC|20) 58# define TIOCGPGRP (tIOC|20)
57#endif
58#endif 59#endif
59 60
61#endif /* UNICOS */
62
60#endif /* _BSD_CRAY_H */ 63#endif /* _BSD_CRAY_H */