changeset 8682:0b98a4edecb2

Fix typo in return type.
author Bruno Haible <bruno@clisp.org>
date Fri, 13 Apr 2007 11:04:55 +0000
parents 7d5ccae12ce7
children eb9089f3f491
files ChangeLog lib/tls.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- 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;