projects
/
openjpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1163 from nforro/memory-and-resource-leaks
[openjpeg.git]
/
src
/
bin
/
jp2
/
windirent.h
diff --git
a/src/bin/jp2/windirent.h
b/src/bin/jp2/windirent.h
index b7ed9a3c14ba29faa7f06a935df9965b4913f74a..19509822a8f62d9ad0032b66284ce863b562c20f 100644
(file)
--- a/
src/bin/jp2/windirent.h
+++ b/
src/bin/jp2/windirent.h
@@
-285,7
+285,9
@@
extern "C" {
static DIR *opendir(const char *dirname);
static struct dirent *readdir(DIR *dirp);
static int closedir(DIR *dirp);
static DIR *opendir(const char *dirname);
static struct dirent *readdir(DIR *dirp);
static int closedir(DIR *dirp);
+#ifdef unused
static void rewinddir(DIR *dirp);
static void rewinddir(DIR *dirp);
+#endif
/*
* Implement dirent interface as static functions so that the user does not
/*
* Implement dirent interface as static functions so that the user does not
@@
-544,6
+546,7
@@
closedir(DIR *dirp)
}
}
+#ifdef unused
/*
* <function name="rewinddir">
* <intro>rewind directory stream to the beginning
/*
* <function name="rewinddir">
* <intro>rewind directory stream to the beginning
@@
-593,7
+596,7
@@
rewinddir(DIR *dirp)
/*EMPTY*/;
}
}
/*EMPTY*/;
}
}
-
+#endif
/*
* Open native directory stream object and retrieve first file.
/*
* Open native directory stream object and retrieve first file.