Add braces to silence gcc -Wall.

2001-03-18  Tor Lillqvist  <tml@iki.fi>

	* gspawn-win32.c (SETUP_DEBUG): Add braces to silence gcc -Wall.

	* gspawn-win32-helper.c (write_no_error): Remove unused function.

	* tests/makefile.mingw.in (module-test.exe): Add rules for
	building module-test.

2001-03-18  Tor Lillqvist  <tml@iki.fi>

	* gobject.def: Correct some renamed functions.
This commit is contained in:
Tor Lillqvist
2001-03-18 19:54:01 +00:00
committed by Tor Lillqvist
parent 45fb71949a
commit 3bae8165cf
15 changed files with 99 additions and 32 deletions

View File

@@ -36,16 +36,6 @@ write_err_and_exit (gint fd,
_exit (1);
}
static void
write_no_error (gint fd)
{
gint msg = CHILD_NO_ERROR;
gint en = 0;
write (fd, &msg, sizeof(msg));
write (fd, &en, sizeof(en));
}
#ifdef __GNUC__
# ifndef _stdcall
# define _stdcall __attribute__((stdcall))