* environ.cc (dos_file_warning): Drop declaration.

(ignore_case_with_glob): Ditto.
	(allow_winsymlinks): Ditto.
	(reset_com): Move definition to globals.cc.
	(struct parse_thing): Add "detect_bloda" option.
	* fhandler_serial.cc (fhandler_serial::open): Drop (incorrect)
	declaration of reset_com.
	* globals.cc (ignore_case_with_glob): Move definition into C++-only
	block.
	(dos_file_warning): Define.
	(allow_winsymlinks): Define.
	(reset_com): Define.
	(detect_bloda): Define.
	* path.cc (dos_file_warning): Drop definition here.
	(allow_winsymlinks): Drop definition here.
This commit is contained in:
Corinna Vinschen
2012-02-26 14:01:32 +00:00
parent dbf576fd86
commit b0af77452c
5 changed files with 27 additions and 16 deletions

View File

@ -1,7 +1,7 @@
/* fhandler_serial.cc
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2011 Red Hat, Inc.
2006, 2007, 2008, 2009, 2011, 2012 Red Hat, Inc.
This file is part of Cygwin.
@ -243,7 +243,6 @@ fhandler_serial::open (int flags, mode_t mode)
{
int res;
COMMTIMEOUTS to;
extern BOOL reset_com;
syscall_printf ("fhandler_serial::open (%s, %p, %p)",
get_name (), flags, mode);