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

-Yosh
This commit is contained in:
Manish Singh
1998-01-09 01:48:19 +00:00
parent f873f58d5b
commit 00000538ed
12 changed files with 100 additions and 3 deletions

View File

@ -1,3 +1,16 @@
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> 1998-01-07 Elliot Lee <sopwith@localhost.cs.cuc.edu>
* gtk/gtkcombobox.c gtk/gtkcombobox.h: New widget, GtkComboBox * gtk/gtkcombobox.c gtk/gtkcombobox.h: New widget, GtkComboBox

View File

@ -1,3 +1,16 @@
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> 1998-01-07 Elliot Lee <sopwith@localhost.cs.cuc.edu>
* gtk/gtkcombobox.c gtk/gtkcombobox.h: New widget, GtkComboBox * gtk/gtkcombobox.c gtk/gtkcombobox.h: New widget, GtkComboBox

View File

@ -1,3 +1,16 @@
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> 1998-01-07 Elliot Lee <sopwith@localhost.cs.cuc.edu>
* gtk/gtkcombobox.c gtk/gtkcombobox.h: New widget, GtkComboBox * gtk/gtkcombobox.c gtk/gtkcombobox.h: New widget, GtkComboBox

View File

@ -1,3 +1,16 @@
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> 1998-01-07 Elliot Lee <sopwith@localhost.cs.cuc.edu>
* gtk/gtkcombobox.c gtk/gtkcombobox.h: New widget, GtkComboBox * gtk/gtkcombobox.c gtk/gtkcombobox.h: New widget, GtkComboBox

View File

@ -1,3 +1,16 @@
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> 1998-01-07 Elliot Lee <sopwith@localhost.cs.cuc.edu>
* gtk/gtkcombobox.c gtk/gtkcombobox.h: New widget, GtkComboBox * gtk/gtkcombobox.c gtk/gtkcombobox.h: New widget, GtkComboBox

View File

@ -1,3 +1,16 @@
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> 1998-01-07 Elliot Lee <sopwith@localhost.cs.cuc.edu>
* gtk/gtkcombobox.c gtk/gtkcombobox.h: New widget, GtkComboBox * gtk/gtkcombobox.c gtk/gtkcombobox.h: New widget, GtkComboBox

View File

@ -1,3 +1,16 @@
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> 1998-01-07 Elliot Lee <sopwith@localhost.cs.cuc.edu>
* gtk/gtkcombobox.c gtk/gtkcombobox.h: New widget, GtkComboBox * gtk/gtkcombobox.c gtk/gtkcombobox.h: New widget, GtkComboBox

View File

@ -3,6 +3,9 @@
/* Define to empty if the keyword does not work. */ /* Define to empty if the keyword does not work. */
#undef const #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). */ /* Define as the return type of signal handlers (int or void). */
#undef RETSIGTYPE #undef RETSIGTYPE

View File

@ -231,6 +231,7 @@ AC_HEADER_STDC
# Checks for typedefs, structures, and compiler characteristics. # Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST AC_C_CONST
AC_C_INLINE
# Checks for library functions. # Checks for library functions.
AC_TYPE_SIGNAL AC_TYPE_SIGNAL

View File

@ -110,7 +110,8 @@ static void g_scanner_get_token_i (GScanner *scanner,
static void g_scanner_free_value (GTokenType *token_p, static void g_scanner_free_value (GTokenType *token_p,
GValue *value_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); guchar base);
static guchar g_scanner_peek_next_char(GScanner *scanner); static guchar g_scanner_peek_next_char(GScanner *scanner);
static guchar g_scanner_get_char (GScanner *scanner, static guchar g_scanner_get_char (GScanner *scanner,

View File

@ -16,7 +16,7 @@ not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */ Cambridge, MA 02139, USA. */
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include <config.h> #include "../config.h"
#endif #endif
#include <errno.h> #include <errno.h>

View File

@ -17,6 +17,7 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
#include <stdlib.h> #include <stdlib.h>
#include "../config.h"
#include "gtkclist.h" #include "gtkclist.h"
/* the width of the column resize windows */ /* the width of the column resize windows */
@ -50,7 +51,7 @@
/* returns the column index from a x pixel location in the /* returns the column index from a x pixel location in the
* context of the clist's hoffset */ * context of the clist's hoffset */
static gint static inline gint
COLUMN_FROM_XPIXEL (GtkCList * clist, COLUMN_FROM_XPIXEL (GtkCList * clist,
gint x) gint x)
{ {