Style fixes to opendir.c:

- Use /*- for copyright block;
 - ANSIfy.
This commit is contained in:
Xin LI 2008-04-16 18:40:52 +00:00
parent 4db051c8a5
commit f6386c2536
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178253

View File

@ -1,4 +1,4 @@
/*
/*-
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
*
@ -51,17 +51,14 @@ __FBSDID("$FreeBSD$");
* Open a directory.
*/
DIR *
opendir(name)
const char *name;
opendir(const char *name)
{
return (__opendir2(name, DTF_HIDEW|DTF_NODUP));
}
DIR *
__opendir2(name, flags)
const char *name;
int flags;
__opendir2(const char *name, int flags)
{
DIR *dirp;
int fd;