summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/include
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-06-14 15:26:38 -0500
committerYaakov Selkowitz <yselkowi@redhat.com>2017-06-19 08:16:42 -0500
commitf698efbce167768d9c859c07dd2bebc75ade7728 (patch)
tree0c10329624e134dc26fe4d534c99c01d820b2ac2 /winsup/cygwin/include
parent59e09b6419cdf400be3c73b61ac9c22560dc397e (diff)
downloadcygnal-f698efbce167768d9c859c07dd2bebc75ade7728.tar.gz
cygnal-f698efbce167768d9c859c07dd2bebc75ade7728.tar.bz2
cygnal-f698efbce167768d9c859c07dd2bebc75ade7728.zip
cygwin: export strverscmp, add versionsort
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r--winsup/cygwin/include/cygwin/version.h3
-rw-r--r--winsup/cygwin/include/sys/dirent.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index c0254a8e0..bde358f72 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -476,12 +476,13 @@ details. */
309: Export getloadavg.
310: Export reallocarray.
311: Export __xpg_sigpause.
+ 312: Export strverscmp, versionsort.
Note that we forgot to bump the api for ualarm, strtoll, strtoull,
sigaltstack, sethostname. */
#define CYGWIN_VERSION_API_MAJOR 0
-#define CYGWIN_VERSION_API_MINOR 311
+#define CYGWIN_VERSION_API_MINOR 312
/* There is also a compatibity version number associated with the shared memory
regions. It is incremented when incompatible changes are made to the shared
diff --git a/winsup/cygwin/include/sys/dirent.h b/winsup/cygwin/include/sys/dirent.h
index 771f71620..049e87ad0 100644
--- a/winsup/cygwin/include/sys/dirent.h
+++ b/winsup/cygwin/include/sys/dirent.h
@@ -89,6 +89,7 @@ int alphasort (const struct dirent **__a, const struct dirent **__b);
int scandirat (int __dirfd, const char *__dir, struct dirent ***__namelist,
int (*select) (const struct dirent *),
int (*compar) (const struct dirent **, const struct dirent **));
+int versionsort (const struct dirent **__a, const struct dirent **__b);
#endif
#if __BSD_VISIBLE