summary refs log tree commit diff
path: root/hurd
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2001-06-10 21:05:36 +0000
committerMark Kettenis <kettenis@gnu.org>2001-06-10 21:05:36 +0000
commitfecb794f59784aa11d1bab88c155afbc70ae4650 (patch)
tree3ca0c8bc1108e6d248a93fe50030b801cffc99d0 /hurd
parente10a9ebaa658d1b9e467556053cf7634f8d1b9fd (diff)
downloadglibc-fecb794f59784aa11d1bab88c155afbc70ae4650.tar.gz
glibc-fecb794f59784aa11d1bab88c155afbc70ae4650.tar.xz
glibc-fecb794f59784aa11d1bab88c155afbc70ae4650.zip
* hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
2001-06-10  Mark Kettenis  <kettenis@gnu.org>

	* hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurd/threadvar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hurd/hurd/threadvar.h b/hurd/hurd/threadvar.h
index 2de619c229..f4068474fd 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 */