From: Mark Kettenis Date: Sun, 10 Jun 2001 21:05:36 +0000 (+0000) Subject: * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location. X-Git-Tag: cvs/pre-lgplv2_1~97 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fecb794f59784aa11d1bab88c155afbc70ae4650;p=thirdparty%2Fglibc.git * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location. 2001-06-10 Mark Kettenis * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location. --- diff --git a/ChangeLog b/ChangeLog index 5fa72015d8d..f98fc062a85 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-06-10 Mark Kettenis + + * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location. + 2001-06-08 Andreas Schwab * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]: diff --git a/hurd/hurd/threadvar.h b/hurd/hurd/threadvar.h index 2de619c229f..f4068474fdd 100644 --- a/hurd/hurd/threadvar.h +++ b/hurd/hurd/threadvar.h @@ -109,11 +109,12 @@ __hurd_threadvar_location (enum __hurd_threadvar_index __index) /* Return the current thread's location for `errno'. The syntax of this function allows redeclarations like `int errno'. */ +extern int *__hurd_errno_location (void); + _HURD_THREADVAR_H_EXTERN_INLINE int * __hurd_errno_location (void) { return (int *) __hurd_threadvar_location (_HURD_THREADVAR_ERRNO); } - #endif /* hurd/threadvar.h */