Include string.h, supress a warning.

Wed Dec 11 11:11:44 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/grand.c: Include string.h, supress a warning.
This commit is contained in:
Owen Taylor 2002-12-11 16:13:34 +00:00 committed by Owen Taylor
parent e3bb519fc2
commit d51fc5b474
8 changed files with 30 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Wed Dec 11 11:11:44 2002 Owen Taylor <otaylor@redhat.com>
* glib/grand.c: Include string.h, supress a warning.
2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de> 2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/grand.c (g_rand_int_range): Improve generation of * glib/grand.c (g_rand_int_range): Improve generation of

View File

@ -1,3 +1,7 @@
Wed Dec 11 11:11:44 2002 Owen Taylor <otaylor@redhat.com>
* glib/grand.c: Include string.h, supress a warning.
2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de> 2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/grand.c (g_rand_int_range): Improve generation of * glib/grand.c (g_rand_int_range): Improve generation of

View File

@ -1,3 +1,7 @@
Wed Dec 11 11:11:44 2002 Owen Taylor <otaylor@redhat.com>
* glib/grand.c: Include string.h, supress a warning.
2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de> 2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/grand.c (g_rand_int_range): Improve generation of * glib/grand.c (g_rand_int_range): Improve generation of

View File

@ -1,3 +1,7 @@
Wed Dec 11 11:11:44 2002 Owen Taylor <otaylor@redhat.com>
* glib/grand.c: Include string.h, supress a warning.
2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de> 2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/grand.c (g_rand_int_range): Improve generation of * glib/grand.c (g_rand_int_range): Improve generation of

View File

@ -1,3 +1,7 @@
Wed Dec 11 11:11:44 2002 Owen Taylor <otaylor@redhat.com>
* glib/grand.c: Include string.h, supress a warning.
2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de> 2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/grand.c (g_rand_int_range): Improve generation of * glib/grand.c (g_rand_int_range): Improve generation of

View File

@ -1,3 +1,7 @@
Wed Dec 11 11:11:44 2002 Owen Taylor <otaylor@redhat.com>
* glib/grand.c: Include string.h, supress a warning.
2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de> 2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/grand.c (g_rand_int_range): Improve generation of * glib/grand.c (g_rand_int_range): Improve generation of

View File

@ -1,3 +1,7 @@
Wed Dec 11 11:11:44 2002 Owen Taylor <otaylor@redhat.com>
* glib/grand.c: Include string.h, supress a warning.
2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de> 2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/grand.c (g_rand_int_range): Improve generation of * glib/grand.c (g_rand_int_range): Improve generation of

View File

@ -40,6 +40,7 @@
#include <math.h> #include <math.h>
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include "glib.h" #include "glib.h"
@ -339,6 +340,7 @@ g_rand_int_range (GRand* rand, gint32 begin, gint32 end)
} }
break; break;
default: default:
random = 0; /* Quiet GCC */
g_assert_not_reached (); g_assert_not_reached ();
} }