Fri Sep 11 02:11:46 1998 Tim Janik <timj@gtk.org>
* glib.h: explicitely include the prototypes for inline functions
to cure gcc warnings for -Wmissing-prototypes.
+Fri Sep 11 02:11:46 1998 Tim Janik <timj@gtk.org>
+
+ * glib.h: explicitely include the prototypes for inline functions
+ to cure gcc warnings for -Wmissing-prototypes.
+
Wed Sep 9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added -posix check for NeXTStep
Wed Sep 9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added -posix check for NeXTStep
+Fri Sep 11 02:11:46 1998 Tim Janik <timj@gtk.org>
+
+ * glib.h: explicitely include the prototypes for inline functions
+ to cure gcc warnings for -Wmissing-prototypes.
+
Wed Sep 9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added -posix check for NeXTStep
Wed Sep 9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added -posix check for NeXTStep
+Fri Sep 11 02:11:46 1998 Tim Janik <timj@gtk.org>
+
+ * glib.h: explicitely include the prototypes for inline functions
+ to cure gcc warnings for -Wmissing-prototypes.
+
Wed Sep 9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added -posix check for NeXTStep
Wed Sep 9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added -posix check for NeXTStep
+Fri Sep 11 02:11:46 1998 Tim Janik <timj@gtk.org>
+
+ * glib.h: explicitely include the prototypes for inline functions
+ to cure gcc warnings for -Wmissing-prototypes.
+
Wed Sep 9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added -posix check for NeXTStep
Wed Sep 9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added -posix check for NeXTStep
+Fri Sep 11 02:11:46 1998 Tim Janik <timj@gtk.org>
+
+ * glib.h: explicitely include the prototypes for inline functions
+ to cure gcc warnings for -Wmissing-prototypes.
+
Wed Sep 9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added -posix check for NeXTStep
Wed Sep 9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added -posix check for NeXTStep
+Fri Sep 11 02:11:46 1998 Tim Janik <timj@gtk.org>
+
+ * glib.h: explicitely include the prototypes for inline functions
+ to cure gcc warnings for -Wmissing-prototypes.
+
Wed Sep 9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added -posix check for NeXTStep
Wed Sep 9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added -posix check for NeXTStep
+Fri Sep 11 02:11:46 1998 Tim Janik <timj@gtk.org>
+
+ * glib.h: explicitely include the prototypes for inline functions
+ to cure gcc warnings for -Wmissing-prototypes.
+
Wed Sep 9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added -posix check for NeXTStep
Wed Sep 9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added -posix check for NeXTStep
+Fri Sep 11 02:11:46 1998 Tim Janik <timj@gtk.org>
+
+ * glib.h: explicitely include the prototypes for inline functions
+ to cure gcc warnings for -Wmissing-prototypes.
+
Wed Sep 9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added -posix check for NeXTStep
Wed Sep 9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: added -posix check for NeXTStep
+G_INLINE_FUNC gint g_bit_nth_lsf (guint32 mask,
+ gint nth_bit);
+#ifdef G_CAN_INLINE
G_INLINE_FUNC gint
g_bit_nth_lsf (guint32 mask,
gint nth_bit)
G_INLINE_FUNC gint
g_bit_nth_lsf (guint32 mask,
gint nth_bit)
while (nth_bit < 32);
return -1;
}
while (nth_bit < 32);
return -1;
}
+#endif /* G_CAN_INLINE */
+
+G_INLINE_FUNC gint g_bit_nth_msf (guint32 mask,
+ gint nth_bit);
+#ifdef G_CAN_INLINE
G_INLINE_FUNC gint
g_bit_nth_msf (guint32 mask,
gint nth_bit)
G_INLINE_FUNC gint
g_bit_nth_msf (guint32 mask,
gint nth_bit)
{
if (nth_bit < 0)
nth_bit = 33;
{
if (nth_bit < 0)
nth_bit = 33;
while (nth_bit > 0);
return -1;
}
while (nth_bit > 0);
return -1;
}
+#endif /* G_CAN_INLINE */
+
+G_INLINE_FUNC guint g_bit_storage (guint number);
+#ifdef G_CAN_INLINE
G_INLINE_FUNC guint
g_bit_storage (guint number)
G_INLINE_FUNC guint
g_bit_storage (guint number)
{
register guint n_bits = 0;
do
{
n_bits++;
{
register guint n_bits = 0;
do
{
n_bits++;
- number = number >> 1;
- } while (number);
+ number >>= 1;
+ }
+ while (number);
+#endif /* G_CAN_INLINE */
+G_INLINE_FUNC gint g_bit_nth_lsf (guint32 mask,
+ gint nth_bit);
+#ifdef G_CAN_INLINE
G_INLINE_FUNC gint
g_bit_nth_lsf (guint32 mask,
gint nth_bit)
G_INLINE_FUNC gint
g_bit_nth_lsf (guint32 mask,
gint nth_bit)
while (nth_bit < 32);
return -1;
}
while (nth_bit < 32);
return -1;
}
+#endif /* G_CAN_INLINE */
+
+G_INLINE_FUNC gint g_bit_nth_msf (guint32 mask,
+ gint nth_bit);
+#ifdef G_CAN_INLINE
G_INLINE_FUNC gint
g_bit_nth_msf (guint32 mask,
gint nth_bit)
G_INLINE_FUNC gint
g_bit_nth_msf (guint32 mask,
gint nth_bit)
{
if (nth_bit < 0)
nth_bit = 33;
{
if (nth_bit < 0)
nth_bit = 33;
while (nth_bit > 0);
return -1;
}
while (nth_bit > 0);
return -1;
}
+#endif /* G_CAN_INLINE */
+
+G_INLINE_FUNC guint g_bit_storage (guint number);
+#ifdef G_CAN_INLINE
G_INLINE_FUNC guint
g_bit_storage (guint number)
G_INLINE_FUNC guint
g_bit_storage (guint number)
{
register guint n_bits = 0;
do
{
n_bits++;
{
register guint n_bits = 0;
do
{
n_bits++;
- number = number >> 1;
- } while (number);
+ number >>= 1;
+ }
+ while (number);
+#endif /* G_CAN_INLINE */