From: Tim Janik Date: Tue, 8 May 2001 13:50:38 +0000 (+0000) Subject: removed #include sneaked in by sopwith in november. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=cac4f011c034379bfe02254cb4fa57233a930547;p=dana%2Fcg-glib.git removed #include sneaked in by sopwith in november. Tue May 8 15:33:31 2001 Tim Janik * gcompletion.h: removed #include sneaked in by sopwith in november. --- diff --git a/ChangeLog b/ChangeLog index 002b4263..53aaa594 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue May 8 15:33:31 2001 Tim Janik + + * gcompletion.h: removed #include sneaked in by + sopwith in november. + 2001-05-08 Sebastian Wilhelmi * gmain.c, gthread.c, gthread.h: Moved func and arg members from diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 002b4263..53aaa594 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +Tue May 8 15:33:31 2001 Tim Janik + + * gcompletion.h: removed #include sneaked in by + sopwith in november. + 2001-05-08 Sebastian Wilhelmi * gmain.c, gthread.c, gthread.h: Moved func and arg members from diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 002b4263..53aaa594 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Tue May 8 15:33:31 2001 Tim Janik + + * gcompletion.h: removed #include sneaked in by + sopwith in november. + 2001-05-08 Sebastian Wilhelmi * gmain.c, gthread.c, gthread.h: Moved func and arg members from diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 002b4263..53aaa594 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +Tue May 8 15:33:31 2001 Tim Janik + + * gcompletion.h: removed #include sneaked in by + sopwith in november. + 2001-05-08 Sebastian Wilhelmi * gmain.c, gthread.c, gthread.h: Moved func and arg members from diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 002b4263..53aaa594 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +Tue May 8 15:33:31 2001 Tim Janik + + * gcompletion.h: removed #include sneaked in by + sopwith in november. + 2001-05-08 Sebastian Wilhelmi * gmain.c, gthread.c, gthread.h: Moved func and arg members from diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 002b4263..53aaa594 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Tue May 8 15:33:31 2001 Tim Janik + + * gcompletion.h: removed #include sneaked in by + sopwith in november. + 2001-05-08 Sebastian Wilhelmi * gmain.c, gthread.c, gthread.h: Moved func and arg members from diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 002b4263..53aaa594 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Tue May 8 15:33:31 2001 Tim Janik + + * gcompletion.h: removed #include sneaked in by + sopwith in november. + 2001-05-08 Sebastian Wilhelmi * gmain.c, gthread.c, gthread.h: Moved func and arg members from diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 002b4263..53aaa594 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Tue May 8 15:33:31 2001 Tim Janik + + * gcompletion.h: removed #include sneaked in by + sopwith in november. + 2001-05-08 Sebastian Wilhelmi * gmain.c, gthread.c, gthread.h: Moved func and arg members from diff --git a/docs/reference/glib/tmpl/macros_misc.sgml b/docs/reference/glib/tmpl/macros_misc.sgml index a7768c73..994ffb73 100644 --- a/docs/reference/glib/tmpl/macros_misc.sgml +++ b/docs/reference/glib/tmpl/macros_misc.sgml @@ -66,6 +66,7 @@ only one statement is expected by the compiler. Portable way to copy va_list variables. + @ap1: the va_list variable to place a copy of @ap2 in. @ap2: a va_list. diff --git a/gcompletion.h b/gcompletion.h index d5fca3f3..9291a02b 100644 --- a/gcompletion.h +++ b/gcompletion.h @@ -29,9 +29,6 @@ #include #include /* For size_t */ -#ifdef G_OS_UNIX -#include -#endif G_BEGIN_DECLS @@ -42,7 +39,9 @@ typedef gchar* (*GCompletionFunc) (gpointer); /* GCompletion */ -typedef int (*GCompletionStrncmpFunc)(const char *s1, const char *s2, size_t n); +typedef gint (*GCompletionStrncmpFunc) (const gchar *s1, + const gchar *s2, + size_t n); struct _GCompletion { diff --git a/glib/gcompletion.h b/glib/gcompletion.h index d5fca3f3..9291a02b 100644 --- a/glib/gcompletion.h +++ b/glib/gcompletion.h @@ -29,9 +29,6 @@ #include #include /* For size_t */ -#ifdef G_OS_UNIX -#include -#endif G_BEGIN_DECLS @@ -42,7 +39,9 @@ typedef gchar* (*GCompletionFunc) (gpointer); /* GCompletion */ -typedef int (*GCompletionStrncmpFunc)(const char *s1, const char *s2, size_t n); +typedef gint (*GCompletionStrncmpFunc) (const gchar *s1, + const gchar *s2, + size_t n); struct _GCompletion {