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/environ.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/environ.h') diff --git a/winsup/cygwin/environ.h b/winsup/cygwin/environ.h index 02407fe65..78305a8b0 100644 --- a/winsup/cygwin/environ.h +++ b/winsup/cygwin/environ.h @@ -40,7 +40,7 @@ char * __stdcall getwinenveq (const char *name, size_t len, int) __attribute__ ((regparm (3))); void __stdcall update_envptrs (); -extern char **__cygwin_environ, ***main_environ; +extern "C" char **__cygwin_environ, ***main_environ; extern "C" char __stdcall **cur_environ (); char ** __stdcall build_env (const char * const *envp, PWCHAR &envblock, int &envc, bool need_envblock) -- cgit v1.2.3