Commit 00000538 authored by Manish Singh's avatar Manish Singh

Added check for inline in configure and updated files to use it.

-Yosh
parent f873f58d
Thu Jan 8 17:56:09 PST 1998 Manish Singh <yosh@gimp.org>
* glib/gscanner.c
* gtk/gtclist.c
* config.h.in
* configure.in: added test for inline and put the inline keywords
back in
* gtk/gtklabel.c: made the prototypes match the definitions
* gtk/fnmatch.c: minor change to make sure the right config.h
gets included
1998-01-07 Elliot Lee <sopwith@localhost.cs.cuc.edu>
* gtk/gtkcombobox.c gtk/gtkcombobox.h: New widget, GtkComboBox
......
Thu Jan 8 17:56:09 PST 1998 Manish Singh <yosh@gimp.org>
* glib/gscanner.c
* gtk/gtclist.c
* config.h.in
* configure.in: added test for inline and put the inline keywords
back in
* gtk/gtklabel.c: made the prototypes match the definitions
* gtk/fnmatch.c: minor change to make sure the right config.h
gets included
1998-01-07 Elliot Lee <sopwith@localhost.cs.cuc.edu>
* gtk/gtkcombobox.c gtk/gtkcombobox.h: New widget, GtkComboBox
......
Thu Jan 8 17:56:09 PST 1998 Manish Singh <yosh@gimp.org>
* glib/gscanner.c
* gtk/gtclist.c
* config.h.in
* configure.in: added test for inline and put the inline keywords
back in
* gtk/gtklabel.c: made the prototypes match the definitions
* gtk/fnmatch.c: minor change to make sure the right config.h
gets included
1998-01-07 Elliot Lee <sopwith@localhost.cs.cuc.edu>
* gtk/gtkcombobox.c gtk/gtkcombobox.h: New widget, GtkComboBox
......
Thu Jan 8 17:56:09 PST 1998 Manish Singh <yosh@gimp.org>
* glib/gscanner.c
* gtk/gtclist.c
* config.h.in
* configure.in: added test for inline and put the inline keywords
back in
* gtk/gtklabel.c: made the prototypes match the definitions
* gtk/fnmatch.c: minor change to make sure the right config.h
gets included
1998-01-07 Elliot Lee <sopwith@localhost.cs.cuc.edu>
* gtk/gtkcombobox.c gtk/gtkcombobox.h: New widget, GtkComboBox
......
Thu Jan 8 17:56:09 PST 1998 Manish Singh <yosh@gimp.org>
* glib/gscanner.c
* gtk/gtclist.c
* config.h.in
* configure.in: added test for inline and put the inline keywords
back in
* gtk/gtklabel.c: made the prototypes match the definitions
* gtk/fnmatch.c: minor change to make sure the right config.h
gets included
1998-01-07 Elliot Lee <sopwith@localhost.cs.cuc.edu>
* gtk/gtkcombobox.c gtk/gtkcombobox.h: New widget, GtkComboBox
......
Thu Jan 8 17:56:09 PST 1998 Manish Singh <yosh@gimp.org>
* glib/gscanner.c
* gtk/gtclist.c
* config.h.in
* configure.in: added test for inline and put the inline keywords
back in
* gtk/gtklabel.c: made the prototypes match the definitions
* gtk/fnmatch.c: minor change to make sure the right config.h
gets included
1998-01-07 Elliot Lee <sopwith@localhost.cs.cuc.edu>
* gtk/gtkcombobox.c gtk/gtkcombobox.h: New widget, GtkComboBox
......
Thu Jan 8 17:56:09 PST 1998 Manish Singh <yosh@gimp.org>
* glib/gscanner.c
* gtk/gtclist.c
* config.h.in
* configure.in: added test for inline and put the inline keywords
back in
* gtk/gtklabel.c: made the prototypes match the definitions
* gtk/fnmatch.c: minor change to make sure the right config.h
gets included
1998-01-07 Elliot Lee <sopwith@localhost.cs.cuc.edu>
* gtk/gtkcombobox.c gtk/gtkcombobox.h: New widget, GtkComboBox
......
......@@ -3,6 +3,9 @@
/* Define to empty if the keyword does not work. */
#undef const
/* Define as __inline if that's what the C compiler calls it. */
#undef inline
/* Define as the return type of signal handlers (int or void). */
#undef RETSIGTYPE
......
......@@ -231,6 +231,7 @@ AC_HEADER_STDC
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
# Checks for library functions.
AC_TYPE_SIGNAL
......
......@@ -110,7 +110,8 @@ static void g_scanner_get_token_i (GScanner *scanner,
static void g_scanner_free_value (GTokenType *token_p,
GValue *value_p);
static gint g_scanner_char_2_num (guchar c,
static inline
gint g_scanner_char_2_num (guchar c,
guchar base);
static guchar g_scanner_peek_next_char(GScanner *scanner);
static guchar g_scanner_get_char (GScanner *scanner,
......
......@@ -16,7 +16,7 @@ not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */
#ifdef HAVE_CONFIG_H
#include <config.h>
#include "../config.h"
#endif
#include <errno.h>
......
......@@ -17,6 +17,7 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <stdlib.h>
#include "../config.h"
#include "gtkclist.h"
/* the width of the column resize windows */
......@@ -50,7 +51,7 @@
/* returns the column index from a x pixel location in the
* context of the clist's hoffset */
static gint
static inline gint
COLUMN_FROM_XPIXEL (GtkCList * clist,
gint x)
{
......
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