Commit d77288de authored by Tim Janik's avatar Tim Janik Committed by Martin Baulig
Browse files

define G_GNUC_UNUSED.

Wed Sep 30 10:53:03 1998  Tim Janik  <timj@gtk.org>

	* glib.h: define G_GNUC_UNUSED.

This change was made in CVS after glib-1.1.3 was released, but I need
to have this in glib.h for GTop 0.30 (and perhaps also LibGTop 0.30),
so I made this branch.

Binaries created from this branch will be completely identically with
Glib-1.1.3.

Martin.
parent d120d02a
Wed Sep 30 10:53:03 1998 Tim Janik <timj@gtk.org>
* glib.h: define G_GNUC_UNUSED.
Mon Sep 21 23:23:10 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.3
......
Wed Sep 30 10:53:03 1998 Tim Janik <timj@gtk.org>
* glib.h: define G_GNUC_UNUSED.
Mon Sep 21 23:23:10 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.3
......
Wed Sep 30 10:53:03 1998 Tim Janik <timj@gtk.org>
* glib.h: define G_GNUC_UNUSED.
Mon Sep 21 23:23:10 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.3
......
Wed Sep 30 10:53:03 1998 Tim Janik <timj@gtk.org>
* glib.h: define G_GNUC_UNUSED.
Mon Sep 21 23:23:10 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.3
......
Wed Sep 30 10:53:03 1998 Tim Janik <timj@gtk.org>
* glib.h: define G_GNUC_UNUSED.
Mon Sep 21 23:23:10 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.3
......
Wed Sep 30 10:53:03 1998 Tim Janik <timj@gtk.org>
* glib.h: define G_GNUC_UNUSED.
Mon Sep 21 23:23:10 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.3
......
Wed Sep 30 10:53:03 1998 Tim Janik <timj@gtk.org>
* glib.h: define G_GNUC_UNUSED.
Mon Sep 21 23:23:10 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.3
......
Wed Sep 30 10:53:03 1998 Tim Janik <timj@gtk.org>
* glib.h: define G_GNUC_UNUSED.
Mon Sep 21 23:23:10 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.3
......
......@@ -245,12 +245,15 @@ extern "C" {
__attribute__((noreturn))
#define G_GNUC_CONST \
__attribute__((const))
#define G_GNUC_UNUSED \
__attribute__((unused))
#else /* !__GNUC__ */
#define G_GNUC_PRINTF( format_idx, arg_idx )
#define G_GNUC_SCANF( format_idx, arg_idx )
#define G_GNUC_FORMAT( arg_idx )
#define G_GNUC_NORETURN
#define G_GNUC_CONST
#define G_GNUC_UNUSED
#endif /* !__GNUC__ */
......
......@@ -245,12 +245,15 @@ extern "C" {
__attribute__((noreturn))
#define G_GNUC_CONST \
__attribute__((const))
#define G_GNUC_UNUSED \
__attribute__((unused))
#else /* !__GNUC__ */
#define G_GNUC_PRINTF( format_idx, arg_idx )
#define G_GNUC_SCANF( format_idx, arg_idx )
#define G_GNUC_FORMAT( arg_idx )
#define G_GNUC_NORETURN
#define G_GNUC_CONST
#define G_GNUC_UNUSED
#endif /* !__GNUC__ */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment