From: Ulrich Drepper Date: Thu, 2 Mar 2006 17:35:44 +0000 (+0000) Subject: * sysdeps/unix/sysv/linux/aio_misc.h: Various cleanups. X-Git-Tag: cvs/fedora-glibc-20060306T0720~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=88bce79ecac3290595387e7b3c3fd38a33c88577;p=thirdparty%2Fglibc.git * sysdeps/unix/sysv/linux/aio_misc.h: Various cleanups. --- diff --git a/nptl/ChangeLog b/nptl/ChangeLog index f5c5299c817..bd86fadd096 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,7 @@ +2006-03-02 Ulrich Drepper + + * sysdeps/unix/sysv/linux/aio_misc.h: Various cleanups. + 2006-03-01 Ulrich Drepper * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S diff --git a/nptl/sysdeps/unix/sysv/linux/aio_misc.h b/nptl/sysdeps/unix/sysv/linux/aio_misc.h index 50064c44c13..406d96e8656 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 , 2004. @@ -19,10 +19,10 @@ #ifndef _AIO_MISC_H # include_next +# include +# include # include # include -# include -# include # 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