summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/dirfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dirfd.c b/lib/dirfd.c
index 77ada78de..e23406353 100644
--- a/lib/dirfd.c
+++ b/lib/dirfd.c
@@ -24,7 +24,7 @@
#include "dirfd.h"
int
-dirfd (DIR *dir_p)
+dirfd (DIR const *dir_p)
{
return DIR_TO_FD;
}