* cygcheck.cc (cygwin_internal): Define as a "C" function.

* strace.cc (cygwin_internal): Ditto.
* cygpath.cc (print_version): Update copyright.
This commit is contained in:
Christopher Faylor 2005-05-17 01:26:16 +00:00
parent 5c8e6fbd8c
commit ac674bc896
4 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2005-05-16 Christopher Faylor <cgf@timesys.com>
* cygcheck.cc (cygwin_internal): Define as a "C" function.
* strace.cc (cygwin_internal): Ditto.
* cygpath.cc (print_version): Update copyright.
2005-05-15 Christopher Faylor <cgf@timesys.com>
* cygcheck.cc (load_cygwin): Avoid calling putenv with a NULL path.

View File

@ -1439,7 +1439,9 @@ nuke (char *ev)
putenv (s);
}
DWORD (*cygwin_internal) (int, ...);
extern "C" {
unsigned long (*cygwin_internal) (int, ...);
};
static void
load_cygwin (int& argc, char **&argv)

View File

@ -1,5 +1,5 @@
/* cygpath.cc -- convert pathnames between Windows and Unix format
Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Red Hat, Inc.
This file is part of Cygwin.
@ -535,7 +535,7 @@ print_version ()
printf ("\
cygpath (cygwin) %.*s\n\
Path Conversion Utility\n\
Copyright 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.\n\
Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Red Hat, Inc.\n\
Compiled on %s\n\
", len, v, __DATE__);
}

View File

@ -250,7 +250,9 @@ ctrl_c (DWORD)
return TRUE;
}
DWORD (*cygwin_internal) (int, ...);
extern "C" {
unsigned long (*cygwin_internal) (int, ...);
};
static int
load_cygwin ()