- (bal) ANSIify strmode()
This commit is contained in:
parent
23fec14710
commit
b30768f504
|
@ -78,6 +78,7 @@
|
||||||
[includes.h pathnames.h readconf.c servconf.c]
|
[includes.h pathnames.h readconf.c servconf.c]
|
||||||
move the path for xauth to pathnames.h
|
move the path for xauth to pathnames.h
|
||||||
- (bal) configure.in fix for Tru64 (forgeting to reset $LIB)
|
- (bal) configure.in fix for Tru64 (forgeting to reset $LIB)
|
||||||
|
- (bal) ANSIify strmode()
|
||||||
|
|
||||||
20010606
|
20010606
|
||||||
- OpenBSD CVS Sync
|
- OpenBSD CVS Sync
|
||||||
|
@ -5589,4 +5590,4 @@
|
||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- Released 1.0pre1
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.1270 2001/06/09 02:16:28 mouring Exp $
|
$Id: ChangeLog,v 1.1271 2001/06/09 02:22:16 mouring Exp $
|
||||||
|
|
|
@ -43,9 +43,7 @@ static char *rcsid = "$OpenBSD: strmode.c,v 1.3 1997/06/13 13:57:20 deraadt Exp
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
void
|
void
|
||||||
strmode(mode, p)
|
strmode(register mode_t mode, register char *p)
|
||||||
register mode_t mode;
|
|
||||||
register char *p;
|
|
||||||
{
|
{
|
||||||
/* print type */
|
/* print type */
|
||||||
switch (mode & S_IFMT) {
|
switch (mode & S_IFMT) {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* $Id: strmode.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
|
/* $Id: strmode.h,v 1.3 2001/06/09 02:22:17 mouring Exp $ */
|
||||||
|
|
||||||
#ifndef HAVE_STRMODE
|
#ifndef HAVE_STRMODE
|
||||||
|
|
||||||
void strmode( register mode_t mode, register char *p);
|
void strmode(register mode_t mode, register char *p);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue