mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
* malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
This commit is contained in:
@ -1,5 +1,7 @@
|
|||||||
2000-11-20 Ulrich Drepper <drepper@redhat.com>
|
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/gmon-start.c: Always have prototype for __gmon_start.
|
||||||
* csu/version.c: Add prototypes for __libc_print_version and
|
* csu/version.c: Add prototypes for __libc_print_version and
|
||||||
__libc_main.
|
__libc_main.
|
||||||
|
@ -102,7 +102,7 @@ typedef pthread_mutex_t mutex_t;
|
|||||||
|
|
||||||
#include <bits/libc-tsd.h>
|
#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 */
|
__libc_tsd_define (, MALLOC) /* declaration/common definition */
|
||||||
#define tsd_key_create(key, destr) ((void) (key))
|
#define tsd_key_create(key, destr) ((void) (key))
|
||||||
#define tsd_setspecific(key, data) __libc_tsd_set (MALLOC, (data))
|
#define tsd_setspecific(key, data) __libc_tsd_set (MALLOC, (data))
|
||||||
|
Reference in New Issue
Block a user