Fixed C99 macros. Closes #161994. Patch by Vincent Berger

* include/glibtop/error.h:
	* sysdeps/common/error.c: Fixed C99 macros. Closes #161994.
	Patch by Vincent Berger <vincent.berger@ext.bull.net>.
This commit is contained in:
Benoît Dejean
2004-12-22 18:12:52 +00:00
parent 3aabc5fb13
commit eff32adaa4
3 changed files with 12 additions and 6 deletions

View File

@@ -129,7 +129,7 @@ glibtop_warn_io_r (glibtop *server, char *format, ...)
va_end (args);
}
#ifndef __GNUC__
#if !defined(__GNUC__) && (!defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L)
void
glibtop_error (char *format, ...)
@@ -167,4 +167,4 @@ glibtop_warn_io (char *format, ...)
va_end (args);
}
#endif /* __GNUC__ */
#endif /* !defined(__GNUC__) && (!defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L) */