notify: removed the "Notify" typedef
Typedefs shouldn't be used, use the bare struct names instead.
This commit is contained in:
@@ -21,11 +21,11 @@
|
||||
|
||||
#include "os_compat.h"
|
||||
|
||||
typedef struct notify {
|
||||
struct notify {
|
||||
pthread_mutex_t mutex;
|
||||
pthread_cond_t cond;
|
||||
int pending;
|
||||
} Notify;
|
||||
};
|
||||
|
||||
#define NOTIFY_INITIALIZER { \
|
||||
.mutex = PTHREAD_MUTEX_INITIALIZER, \
|
||||
|
Reference in New Issue
Block a user