Replaced inline with static.
1999-02-18 Martin Baulig <martin@home-of-linux.org> * sysdeps/common/error.h: Replaced inline with static.
This commit is contained in:
committed by
Martin Baulig
parent
2deb3c30c4
commit
1da8264984
@@ -1,3 +1,7 @@
|
|||||||
|
1999-02-18 Martin Baulig <martin@home-of-linux.org>
|
||||||
|
|
||||||
|
* sysdeps/common/error.h: Replaced inline with static.
|
||||||
|
|
||||||
1999-02-18 Martin Baulig <martin@home-of-linux.org>
|
1999-02-18 Martin Baulig <martin@home-of-linux.org>
|
||||||
|
|
||||||
* */*.awk: Replaced all awk scripts with perl scripts since it is
|
* */*.awk: Replaced all awk scripts with perl scripts since it is
|
||||||
|
@@ -33,14 +33,7 @@ extern void glibtop_warn_vr __P((glibtop *, char *, va_list));
|
|||||||
extern void glibtop_error_io_vr __P((glibtop *, char *, gint, va_list));
|
extern void glibtop_error_io_vr __P((glibtop *, char *, gint, va_list));
|
||||||
extern void glibtop_warn_io_vr __P((glibtop *, char *, gint, va_list));
|
extern void glibtop_warn_io_vr __P((glibtop *, char *, gint, va_list));
|
||||||
|
|
||||||
G_INLINE_FUNC void glibtop_error_r __P((glibtop *, char *, ...));
|
static void
|
||||||
G_INLINE_FUNC void glibtop_warn_r __P((glibtop *, char *, ...));
|
|
||||||
|
|
||||||
G_INLINE_FUNC void glibtop_error_io_r __P((glibtop *, char *, ...));
|
|
||||||
G_INLINE_FUNC void glibtop_warn_io_r __P((glibtop *, char *, ...));
|
|
||||||
|
|
||||||
#ifdef G_CAN_INLINE
|
|
||||||
G_INLINE_FUNC void
|
|
||||||
glibtop_error_r (glibtop *server, char *format, ...)
|
glibtop_error_r (glibtop *server, char *format, ...)
|
||||||
{
|
{
|
||||||
va_list args;
|
va_list args;
|
||||||
@@ -50,7 +43,7 @@ glibtop_error_r (glibtop *server, char *format, ...)
|
|||||||
va_end (args);
|
va_end (args);
|
||||||
}
|
}
|
||||||
|
|
||||||
G_INLINE_FUNC void
|
static void
|
||||||
glibtop_warn_r (glibtop *server, char *format, ...)
|
glibtop_warn_r (glibtop *server, char *format, ...)
|
||||||
{
|
{
|
||||||
va_list args;
|
va_list args;
|
||||||
@@ -60,7 +53,7 @@ glibtop_warn_r (glibtop *server, char *format, ...)
|
|||||||
va_end (args);
|
va_end (args);
|
||||||
}
|
}
|
||||||
|
|
||||||
G_INLINE_FUNC void
|
static void
|
||||||
glibtop_error_io_r (glibtop *server, char *format, ...)
|
glibtop_error_io_r (glibtop *server, char *format, ...)
|
||||||
{
|
{
|
||||||
va_list args;
|
va_list args;
|
||||||
@@ -70,7 +63,7 @@ glibtop_error_io_r (glibtop *server, char *format, ...)
|
|||||||
va_end (args);
|
va_end (args);
|
||||||
}
|
}
|
||||||
|
|
||||||
G_INLINE_FUNC void
|
static void
|
||||||
glibtop_warn_io_r (glibtop *server, char *format, ...)
|
glibtop_warn_io_r (glibtop *server, char *format, ...)
|
||||||
{
|
{
|
||||||
va_list args;
|
va_list args;
|
||||||
@@ -79,7 +72,6 @@ glibtop_warn_io_r (glibtop *server, char *format, ...)
|
|||||||
glibtop_warn_io_vr (server, format, errno, args);
|
glibtop_warn_io_vr (server, format, errno, args);
|
||||||
va_end (args);
|
va_end (args);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
|
|
||||||
|
@@ -84,47 +84,3 @@ glibtop_warn_io_vr (glibtop *server, char *format, gint error, va_list args)
|
|||||||
abort ();
|
abort ();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef G_CAN_INLINE
|
|
||||||
|
|
||||||
G_INLINE_FUNC void
|
|
||||||
glibtop_error_r (glibtop *server, char *format, ...)
|
|
||||||
{
|
|
||||||
va_list args;
|
|
||||||
|
|
||||||
va_start (args, format);
|
|
||||||
glibtop_error_vr (server, format, args);
|
|
||||||
va_end (args);
|
|
||||||
}
|
|
||||||
|
|
||||||
G_INLINE_FUNC void
|
|
||||||
glibtop_warn_r (glibtop *server, char *format, ...)
|
|
||||||
{
|
|
||||||
va_list args;
|
|
||||||
|
|
||||||
va_start (args, format);
|
|
||||||
glibtop_warn_vr (server, format, args);
|
|
||||||
va_end (args);
|
|
||||||
}
|
|
||||||
|
|
||||||
G_INLINE_FUNC void
|
|
||||||
glibtop_error_io_r (glibtop *server, char *format, ...)
|
|
||||||
{
|
|
||||||
va_list args;
|
|
||||||
|
|
||||||
va_start (args, format);
|
|
||||||
glibtop_error_io_vr (server, format, errno, args);
|
|
||||||
va_end (args);
|
|
||||||
}
|
|
||||||
|
|
||||||
G_INLINE_FUNC void
|
|
||||||
glibtop_warn_io_r (glibtop *server, char *format, ...)
|
|
||||||
{
|
|
||||||
va_list args;
|
|
||||||
|
|
||||||
va_start (args, format);
|
|
||||||
glibtop_warn_io_vr (server, format, errno, args);
|
|
||||||
va_end (args);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif /* not G_CAN_INLINE */
|
|
||||||
|
Reference in New Issue
Block a user