diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-03-02 17:35:44 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-03-02 17:35:44 +0000 |
commit | 88bce79ecac3290595387e7b3c3fd38a33c88577 (patch) | |
tree | 0e04b8ead4db7599456d73ecba05838b145cc601 /nptl/sysdeps | |
parent | bb54908866986dc1578e3077b323bfc1cc5aecba (diff) | |
download | glibc-88bce79ecac3290595387e7b3c3fd38a33c88577.tar glibc-88bce79ecac3290595387e7b3c3fd38a33c88577.tar.gz glibc-88bce79ecac3290595387e7b3c3fd38a33c88577.tar.bz2 glibc-88bce79ecac3290595387e7b3c3fd38a33c88577.zip |
* sysdeps/unix/sysv/linux/aio_misc.h: Various cleanups.
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/aio_misc.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/aio_misc.h b/nptl/sysdeps/unix/sysv/linux/aio_misc.h index 50064c44c1..406d96e865 100644 --- a/nptl/sysdeps/unix/sysv/linux/aio_misc.h +++ b/nptl/sysdeps/unix/sysv/linux/aio_misc.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2004 Free Software Foundation, Inc. +/* Copyright (C) 2004, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jakub Jelinek <jakub@redhat.com>, 2004. @@ -19,10 +19,10 @@ #ifndef _AIO_MISC_H # include_next <aio_misc.h> +# include <limits.h> +# include <pthread.h> # include <signal.h> # include <sysdep.h> -# include <pthread.h> -# include <limits.h> # define aio_start_notify_thread __aio_start_notify_thread # define aio_create_helper_thread __aio_create_helper_thread @@ -37,7 +37,8 @@ __aio_start_notify_thread (void) } extern inline int -__aio_create_helper_thread (pthread_t *threadp, void *(*tf) (void *), void *arg) +__aio_create_helper_thread (pthread_t *threadp, void *(*tf) (void *), + void *arg) { pthread_attr_t attr; @@ -64,5 +65,5 @@ __aio_create_helper_thread (pthread_t *threadp, void *(*tf) (void *), void *arg) (void) pthread_attr_destroy (&attr); return ret; -} +} #endif |