summaryrefslogtreecommitdiff
path: root/common/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/compat.h')
-rw-r--r--common/compat.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/common/compat.h b/common/compat.h
index bd933cb..7435e07 100644
--- a/common/compat.h
+++ b/common/compat.h
@@ -84,6 +84,8 @@ char * mkdtemp (char *template);
#endif /* HAVE_MKDTEMP */
+char * strdup_path_mangle (const char *template);
+
/* -----------------------------------------------------------------------------
* WIN32
*/
@@ -214,13 +216,6 @@ void p11_mmap_close (p11_mmap *map);
#endif /* OS_UNIX */
-/*
- * The semantics of both POSIX basename() and GNU asename() are so crappy that
- * we just don't even bother. And what's worse is how it completely changes
- * behavior if _GNU_SOURCE is defined. Nasty stuff.
- */
-char * p11_basename (const char *name);
-
/* ----------------------------------------------------------------------------
* MORE COMPAT
*/