X-Git-Url: http://andersk.mit.edu/gitweb/gssapi-openssh.git/blobdiff_plain/0fff78ff85eabb96f2600c7996ab2a6ffd21e706..c8b33f201dc1568673002a11f4307700e502d0d6:/openssh/openbsd-compat/strmode.c diff --git a/openssh/openbsd-compat/strmode.c b/openssh/openbsd-compat/strmode.c index adf5e27..e64d198 100644 --- a/openssh/openbsd-compat/strmode.c +++ b/openssh/openbsd-compat/strmode.c @@ -10,7 +10,11 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the University of + * California, Berkeley and its contributors. + * 4. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * @@ -31,17 +35,15 @@ #ifndef HAVE_STRMODE #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: strmode.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $"; +static char *rcsid = "$OpenBSD: strmode.c,v 1.3 1997/06/13 13:57:20 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include #include #include -/* XXX mode should be mode_t */ - void -strmode(int mode, char *p) +strmode(register mode_t mode, register char *p) { /* print type */ switch (mode & S_IFMT) {