summary refs log tree commit diff
path: root/sysdeps/unix/sysv/aix/sleep.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-17 00:06:01 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-17 00:06:01 +0000
commitf83c7164365526788d69128a506d81777e4092b3 (patch)
treeec35618114bf47edeedd194fdf1eb3b0b08a9c0d /sysdeps/unix/sysv/aix/sleep.c
parent87d60668d692bcb646ffdd20eebcd02632a7e530 (diff)
downloadglibc-f83c7164365526788d69128a506d81777e4092b3.tar.gz
glibc-f83c7164365526788d69128a506d81777e4092b3.tar.xz
glibc-f83c7164365526788d69128a506d81777e4092b3.zip
Update.
2002-12-16  Art Haas  <ahaas@airmail.net>

	* io/ftw.c: Convert GCC extension initializer syntax to C99.
Diffstat (limited to 'sysdeps/unix/sysv/aix/sleep.c')
-rw-r--r--sysdeps/unix/sysv/aix/sleep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/aix/sleep.c b/sysdeps/unix/sysv/aix/sleep.c
index 17a9702633..aa8d76d3d2 100644
--- a/sysdeps/unix/sysv/aix/sleep.c
+++ b/sysdeps/unix/sysv/aix/sleep.c
@@ -27,7 +27,7 @@ unsigned int
 __sleep (seconds)
      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};
   __libc_nanosleep(&ts,&ts);
   return 0;
 }