projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e9e4be7
)
Avoid a gcc warning.
author
Bruno Haible
<bruno@clisp.org>
Sun, 1 Mar 2009 16:54:52 +0000
(17:54 +0100)
committer
Bruno Haible
<bruno@clisp.org>
Sun, 1 Mar 2009 16:54:52 +0000
(17:54 +0100)
ChangeLog
patch
|
blob
|
history
tests/test-sched.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
f8490dc
..
2387d24
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,9
@@
+2009-03-01 Bruno Haible <bruno@clisp.org>
+
+ Avoid a gcc warning.
+ * tests/test-sched.c (b): Make global.
+ Reported by Eric Blake.
+
2009-01-19 Martin Lambers <marlam@marlam.de>
Provide POSIX semantics for socket timeout options on W32.
2009-01-19 Martin Lambers <marlam@marlam.de>
Provide POSIX semantics for socket timeout options on W32.
diff --git
a/tests/test-sched.c
b/tests/test-sched.c
index
8925d3a
..
6bec1f7
100644
(file)
--- a/
tests/test-sched.c
+++ b/
tests/test-sched.c
@@
-1,5
+1,5
@@
/* Test of <sched.h> substitute.
/* Test of <sched.h> substitute.
- Copyright (C) 2008 Free Software Foundation, Inc.
+ Copyright (C) 2008
-2009
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-23,8
+23,8
@@
/* Check that 'struct sched_param' is defined. */
static struct sched_param a;
/* Check that 'struct sched_param' is defined. */
static struct sched_param a;
-/* Check that the SCHED_* macr
i
s are defined and compile-time constants. */
-
static
int b[] = { SCHED_FIFO, SCHED_RR, SCHED_OTHER };
+/* Check that the SCHED_* macr
o
s are defined and compile-time constants. */
+int b[] = { SCHED_FIFO, SCHED_RR, SCHED_OTHER };
static int f1;
static int f1;