aboutsummaryrefslogtreecommitdiffstats
path: root/com32
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-01-10 12:56:07 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-01-10 12:56:07 -0800
commitbd938bd98412ec9d0c24856be45110078f1ad1ae (patch)
treec8ec7a2e6264d327c1fe85fb7ffc75242d790ca9 /com32
parentd286efcc42589f61772d551deae486e76f51e960 (diff)
downloadsyslinux.git-bd938bd98412ec9d0c24856be45110078f1ad1ae.tar.gz
syslinux.git-bd938bd98412ec9d0c24856be45110078f1ad1ae.tar.xz
syslinux.git-bd938bd98412ec9d0c24856be45110078f1ad1ae.zip
com32/lib: fix unused argument warning in fdopendir()
fdopendir() is a stub, and probably will remain such. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32')
-rw-r--r--com32/lib/fdopendir.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/com32/lib/fdopendir.c b/com32/lib/fdopendir.c
index 5fe11617..4fc31388 100644
--- a/com32/lib/fdopendir.c
+++ b/com32/lib/fdopendir.c
@@ -8,6 +8,8 @@
DIR *fdopendir(int __fd)
{
+ (void)__fd;
+
errno = ENOSYS;
return NULL;
}