Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update.
	* malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
  • Loading branch information
Ulrich Drepper committed Nov 20, 2000
1 parent ad5b53b commit ce3019c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog
@@ -1,5 +1,7 @@
2000-11-20 Ulrich Drepper <drepper@redhat.com>

* malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.

* csu/gmon-start.c: Always have prototype for __gmon_start.
* csu/version.c: Add prototypes for __libc_print_version and
__libc_main.
Expand Down
2 changes: 1 addition & 1 deletion malloc/thread-m.h
Expand Up @@ -102,7 +102,7 @@ typedef pthread_mutex_t mutex_t;

#include <bits/libc-tsd.h>

typedef int tsd_key_t[0]; /* no key data structure, libc magic does it */
typedef int tsd_key_t[1]; /* no key data structure, libc magic does it */
__libc_tsd_define (, MALLOC) /* declaration/common definition */
#define tsd_key_create(key, destr) ((void) (key))
#define tsd_setspecific(key, data) __libc_tsd_set (MALLOC, (data))
Expand Down

0 comments on commit ce3019c

Please sign in to comment.