diff options
author | delphij <delphij@FreeBSD.org> | 2008-04-16 18:40:52 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2008-04-16 18:40:52 +0000 |
commit | 71f117505a34b4de451c2ace38b596babde8aca4 (patch) | |
tree | 358dab3770e5874f82e1f94d55ccdd86a846cd03 /lib/libc/gen | |
parent | 49dbc2adb7008937d60f2e2509cfdedc758e1280 (diff) | |
download | FreeBSD-src-71f117505a34b4de451c2ace38b596babde8aca4.zip FreeBSD-src-71f117505a34b4de451c2ace38b596babde8aca4.tar.gz |
Style fixes to opendir.c:
- Use /*- for copyright block;
- ANSIfy.
Diffstat (limited to 'lib/libc/gen')
-rw-r--r-- | lib/libc/gen/opendir.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libc/gen/opendir.c b/lib/libc/gen/opendir.c index c5386d5..5725ca3 100644 --- a/lib/libc/gen/opendir.c +++ b/lib/libc/gen/opendir.c @@ -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; |