summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/sleep.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-12-16 02:05:36 +0000
committerRoland McGrath <roland@gnu.org>2002-12-16 02:05:36 +0000
commit0274d73c41a807eeb10866f5211d727a5bc51b5c (patch)
tree4bbb9afc7877cf8d7a2de52036233d557485c422 /sysdeps/unix/sysv/linux/sleep.c
parentc2e131128be262e38f086465f3561c2faeaaef78 (diff)
downloadglibc-0274d73c41a807eeb10866f5211d727a5bc51b5c.tar.gz
glibc-0274d73c41a807eeb10866f5211d727a5bc51b5c.tar.xz
glibc-0274d73c41a807eeb10866f5211d727a5bc51b5c.zip
* iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99.
	* iconvdata/gap.awk: Likewise.
	* iconvdata/gen-8bit-gap-1.sh: Likewise.
	* iconvdata/gen-8bit-gap.sh: Likewise.
	* locale/C-address.c: Likewise.
	* locale/C-collate.c: Likewise.
	* locale/C-ctype.c: Likewise.
	* locale/C-identification.c: Likewise.
	* locale/C-measurement.c: Likewise.
	* locale/C-messages.c: Likewise.
	* locale/C-monetary.c: Likewise.
	* locale/C-name.c: Likewise.
	* locale/C-numeric.c: Likewise.
	* locale/C-paper.c: Likewise.
	* locale/C-telephone.c: Likewise.
	* locale/C-time.c: Likewise.
	* nscd/connections.c: Likewise.
	* nscd/grpcache.c: Likewise.
	* nscd/hstcache.c: Likewise.
	* nscd/pwdcache.c: Likewise.
	* stdio-common/vfprintf.c: Likewise.
	* stdlib/random.c: Likewise.
	* sysdeps/generic/siglist.c: Likewise.
	* sysdeps/i386/fpu/bits/mathinline.h: Likewise.
	* sysdeps/ieee754/bits/nan.h: Likewise.
	* sysdeps/posix/sprofil.c: Likewise.
	* sysdeps/unix/sysv/linux/sleep.c: Likewise.
	* sysdeps/unix/sysv/linux/sysctl.c: Likewise.
	* sysdeps/unix/sysv/linux/usleep.c: Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sleep.c')
-rw-r--r--sysdeps/unix/sysv/linux/sleep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/sleep.c b/sysdeps/unix/sysv/linux/sleep.c
index b73032263b..0cf6be285d 100644
--- a/sysdeps/unix/sysv/linux/sleep.c
+++ b/sysdeps/unix/sysv/linux/sleep.c
@@ -29,7 +29,7 @@
 unsigned int
 __sleep (unsigned int seconds)
 {
-  struct timespec ts = { tv_sec: (long int) seconds, tv_nsec: 0 };
+  struct timespec ts = { .tv_sec = (long int) seconds, .tv_nsec = 0 };
   sigset_t set, oset;
   unsigned int result;