Fix typo in return type.
authorBruno Haible <bruno@clisp.org>
Fri, 13 Apr 2007 11:04:55 +0000 (11:04 +0000)
committerBruno Haible <bruno@clisp.org>
Fri, 13 Apr 2007 11:04:55 +0000 (11:04 +0000)
ChangeLog
lib/tls.c

index f87c537ff0849fb891a42a491b4bf3f67ac05844..7cba442c851b208d378ae8fdb965a2c2aef70a3f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-04-13  Bruno Haible  <bruno@clisp.org>
+
+       * lib/tls.c (glthread_tls_get): Fix return type.
+       Patch by Arto C. Nirkko <anirkko@insel.ch>.
+
 2007-04-12  Eric Blake  <ebb9@byu.net>
 
        * modules/gettime (Depends-on): Remove gettime.
index 795c638e94c6fb6c0707eb73d2f8ee82bcc60815..8a203b328f4c652f85c338f9668c22358976fcfd 100644 (file)
--- a/lib/tls.c
+++ b/lib/tls.c
@@ -1,5 +1,5 @@
 /* Thread-local storage in multithreaded situations.
-   Copyright (C) 2005-2006 Free Software Foundation, Inc.
+   Copyright (C) 2005-2007 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -41,7 +41,7 @@
 
 /* ------------------------- gl_tls_key_t datatype ------------------------- */
 
-void
+void *
 glthread_tls_get (thread_key_t key)
 {
   void *value;