* winsup.h (cygbench): Fix declaration to match definition.

* dcrt0.cc (initial_env): Remove unused variable.
This commit is contained in:
Christopher Faylor 2013-07-17 17:46:10 +00:00
parent d1b5846f29
commit e6f4f3f7ee
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2013-07-17 Christopher Faylor <me.cygwin2013@cgf.cx>
* winsup.h (cygbench): Fix declaration to match definition.
* dcrt0.cc (initial_env): Remove unused variable.
2013-07-15 Corinna Vinschen <corinna@vinschen.de>
Remove /dev/mem, /dev/kmem, /dev/port support.

View File

@ -509,12 +509,11 @@ initial_env ()
_cygwin_testing = 1;
#ifdef DEBUGGING
DWORD len;
char buf[NT_MAX_PATH];
if (GetEnvironmentVariableA ("CYGWIN_DEBUG", buf, sizeof (buf) - 1))
{
char buf1[NT_MAX_PATH];
len = GetModuleFileName (NULL, buf1, NT_MAX_PATH);
GetModuleFileName (NULL, buf1, NT_MAX_PATH);
strlwr (buf1);
strlwr (buf);
char *p = strpbrk (buf, ":=");
@ -1304,7 +1303,7 @@ are unable to find another cygwin DLL.",
}
#ifdef DEBUGGING
void __stdcall
void __reg1
cygbench (const char *s)
{
if (GetEnvironmentVariableA ("CYGWIN_BENCH", NULL, 0))