From ade47a3430eb7ef8b3cdb3d54d47a0c4732ac10d Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 7 Apr 2008 16:15:45 +0000 Subject: Add miscfuncs.h to files as needed throughout. * mount.cc: New file. * path.cc: Move mount-specific stuff into mount.cc. Move common stuff into miscfuncs.cc. Remove unneeded includes. * miscfuncs.cc: Move some common path functions here. * miscfuncs.h: New file. * winsup.h: Move miscelleneous functions to miscfuncs.h. * dcrt0.cc: Remove unneeded includes. * Makefile.in (DLL_OFILES): Add mount.o. * include/cygwin/config.h: Fix a minor typo. --- winsup/cygwin/path.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'winsup/cygwin/path.h') diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index f5bdbcfe7..e121280ce 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -331,6 +331,9 @@ bool fnunmunge (char *, const char *) __attribute__ ((regparm (2))); int path_prefix_p (const char *path1, const char *path2, int len1) __attribute__ ((regparm (3))); bool is_floppy (const char *); +int normalize_win32_path (const char *, char *, char *&); +int normalize_posix_path (const char *, char *, char *&); +PUNICODE_STRING get_nt_native_path (const char *, UNICODE_STRING&, bool); /* FIXME: Move to own include file eventually */ -- cgit v1.2.3