From 793cf0dbf56fb8669a1d3fafa2a20dc0dd89d326 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 21 Dec 2016 11:25:16 -0800 Subject: Uncrustify clean now. --- src/core/platform.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/core/platform.h') diff --git a/src/core/platform.h b/src/core/platform.h index f87042da..32e8727f 100644 --- a/src/core/platform.h +++ b/src/core/platform.h @@ -79,13 +79,14 @@ extern void *nni_alloc(size_t); */ extern void nni_free(void *, size_t); -typedef struct nni_mutex *nni_mutex_t; -typedef struct nni_cond *nni_cond_t; +typedef struct nni_mutex * nni_mutex_t; +typedef struct nni_cond * nni_cond_t; /* * Mutex handling. */ extern int nni_mutex_create(nni_mutex_t *); + extern void nni_mutex_destroy(nni_mutex_t); extern void nni_mutex_enter(nni_mutex_t); extern void nni_mutex_exit(nni_mutex_t); @@ -123,7 +124,8 @@ extern void nni_cond_wait(nni_cond_t); */ extern int nni_cond_timedwait(nni_cond_t, uint64_t); -typedef struct nni_thread *nni_thread_t; +typedef struct nni_thread * nni_thread_t; + /* * nni_thread_creates a thread that runs the given function. The thread * receives a single argument. -- cgit v1.2.3-70-g09d2