Commit 07e6c690 authored by Jonas Termansen's avatar Jonas Termansen

Fix empty struct thread_rwlockattr_t.

parent c14d7fa3
/*
* 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
* purpose with or without fee is hereby granted, provided that the above
......@@ -147,10 +147,12 @@ typedef struct
#if defined(__is_sortix_libc)
typedef struct
{
char __structure_is_non_empty;
} __pthread_rwlockattr_t;
#else
typedef struct
{
char __structure_is_non_empty;
} __pthread_rwlockattr_t;
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment