Don't include <glib.h>. Use int' not gint'.

1999-02-19  Martin Baulig  <martin@home-of-linux.org>

	* include/glibtop/error.h: Don't include <glib.h>.
	* sysdeps/common/error.c: Use `int' not `gint'.
This commit is contained in:
Martin Baulig
1999-02-19 21:54:22 +00:00
committed by Martin Baulig
parent 9146d53ecc
commit a7bdfcb951
4 changed files with 11 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ glibtop_error_vr (glibtop *server, char *format, va_list args)
}
void
glibtop_error_io_vr (glibtop *server, char *format, gint error, va_list args)
glibtop_error_io_vr (glibtop *server, char *format, int error, va_list args)
{
print_server_name (server);
vfprintf (stderr, format, args);
@@ -74,7 +74,7 @@ glibtop_warn_vr (glibtop *server, char *format, va_list args)
}
void
glibtop_warn_io_vr (glibtop *server, char *format, gint error, va_list args)
glibtop_warn_io_vr (glibtop *server, char *format, int error, va_list args)
{
print_server_name (server);
vfprintf (stderr, format, args);