From cf92dabe14c7581217daf96f6257caae8c56b826 Mon Sep 17 00:00:00 2001 From: deischen Date: Wed, 6 Dec 2000 03:15:49 +0000 Subject: Cleanup XXXdir functions to eliminate global hash table of telldir positions. This will allow (future) locking on a per-DIR basis (for MT-safety). For now, this change does the following: o Remove the hash table from telldir.c. Recode to use queue macros. o Remove 'const' from 'telldir(const DIR *)'. o Remove 'register' variables as suggested in a recent thread. No response from: -current --- lib/libc/gen/directory.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc/gen/directory.3') diff --git a/lib/libc/gen/directory.3 b/lib/libc/gen/directory.3 index 27907af..8061d1d 100644 --- a/lib/libc/gen/directory.3 +++ b/lib/libc/gen/directory.3 @@ -57,7 +57,7 @@ .Ft int .Fn readdir_r "DIR *dirp" "struct dirent *entry" "struct dirent **result" .Ft long -.Fn telldir "const DIR *dirp" +.Fn telldir "DIR *dirp" .Ft void .Fn seekdir "DIR *dirp" "long loc" .Ft void -- cgit v1.1