summaryrefslogtreecommitdiff
path: root/lib/dirfd.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-10-19 12:47:52 +0200
committerBruno Haible <bruno@clisp.org>2008-10-19 12:47:52 +0200
commit2cf6b078ffb5955943be20eec0a1d6742b118c5e (patch)
treec4e0c192f121d65c81c346744d361fa4421e03e1 /lib/dirfd.c
parentcded3d983ba2d3e0c76bc1c721c78333fa31b385 (diff)
downloadgnulib-2cf6b078ffb5955943be20eec0a1d6742b118c5e.tar.gz
Move the dirfd() declaration to <dirent.h>.
Diffstat (limited to 'lib/dirfd.c')
-rw-r--r--lib/dirfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dirfd.c b/lib/dirfd.c
index 18f5154a06..3458e99b20 100644
--- a/lib/dirfd.c
+++ b/lib/dirfd.c
@@ -1,6 +1,6 @@
/* dirfd.c -- return the file descriptor associated with an open DIR*
- Copyright (C) 2001, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2006, 2008 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -19,7 +19,7 @@
#include <config.h>
-#include "dirfd.h"
+#include <dirent.h>
int
dirfd (DIR const *dir_p)