X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ftls.c;h=8a203b328f4c652f85c338f9668c22358976fcfd;hb=dd6ceef65e424d30db8706273f88c20b015012ce;hp=567fdac094f1ba00f37e792df1ce6efdb2426f98;hpb=a897449aaae8e6c051f3b9daaf984de5c5e092f3;p=gnulib.git diff --git a/lib/tls.c b/lib/tls.c index 567fdac09..8a203b328 100644 --- a/lib/tls.c +++ b/lib/tls.c @@ -1,5 +1,5 @@ /* Thread-local storage in multithreaded situations. - Copyright (C) 2005 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 @@ -17,9 +17,7 @@ /* Written by Bruno Haible , 2005. */ -#ifdef HAVE_CONFIG_H -# include -#endif +#include #include "tls.h" @@ -43,7 +41,7 @@ /* ------------------------- gl_tls_key_t datatype ------------------------- */ -void +void * glthread_tls_get (thread_key_t key) { void *value;