Fix empty struct thread_rwlockattr_t.
This commit is contained in:
parent
c14d7fa3b8
commit
07e6c69097
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2013, 2014 Jonas 'Sortie' Termansen.
|
* Copyright (c) 2013, 2014, 2017 Jonas 'Sortie' Termansen.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and distribute this software for any
|
* Permission to use, copy, modify, and distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
|
@ -147,10 +147,12 @@ typedef struct
|
||||||
#if defined(__is_sortix_libc)
|
#if defined(__is_sortix_libc)
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
char __structure_is_non_empty;
|
||||||
} __pthread_rwlockattr_t;
|
} __pthread_rwlockattr_t;
|
||||||
#else
|
#else
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
char __structure_is_non_empty;
|
||||||
} __pthread_rwlockattr_t;
|
} __pthread_rwlockattr_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue