summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-03-05 09:39:59 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-03-05 09:39:59 +0000
commitaeca2383d4f2cd34404b5d174d7be6eb7c1a5c3e (patch)
treee49b7d1a373cea2ba1aad1b37b7da3b7cb84a09e /lib/libc
parentd541821e7d03e3948a8370da81efda0ec42967ee (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/telldir.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/lib/libc/gen/telldir.c b/lib/libc/gen/telldir.c
index ab23d9db7a20..0261e7c29ab1 100644
--- a/lib/libc/gen/telldir.c
+++ b/lib/libc/gen/telldir.c
@@ -29,6 +29,8 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
+ *
+ * $FreeBSD$
*/
#if defined(LIBC_SCCS) && !defined(lint)
@@ -74,8 +76,8 @@ long
telldir(dirp)
const DIR *dirp;
{
- register int index;
- register struct ddloc *lp;
+ int index;
+ struct ddloc *lp;
if ((lp = (struct ddloc *)malloc(sizeof(struct ddloc))) == NULL)
return (-1);
@@ -95,11 +97,11 @@ telldir(dirp)
*/
void
_seekdir(dirp, loc)
- register DIR *dirp;
+ DIR *dirp;
long loc;
{
- register struct ddloc *lp;
- register struct ddloc **prevlp;
+ struct ddloc *lp;
+ struct ddloc **prevlp;
struct dirent *dp;
prevlp = &dd_hash[LOCHASH(loc)];
@@ -134,10 +136,10 @@ found:
*/
void
_reclaim_telldir(dirp)
- register const DIR *dirp;
+ const DIR *dirp;
{
- register struct ddloc *lp;
- register struct ddloc **prevlp;
+ struct ddloc *lp;
+ struct ddloc **prevlp;
int i;
for (i = 0; i < NDIRHASH; i++) {