From dbf5d92605a9db10e3e3cb154d03a515c5d5c5af Mon Sep 17 00:00:00 2001 From: reinelt Date: Sun, 8 May 2005 04:32:45 +0000 Subject: [lcd4linux @ 2005-05-08 04:32:43 by reinelt] CodingStyle added and applied git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@547 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- thread.h | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'thread.h') diff --git a/thread.h b/thread.h index c7ce81c..badafb4 100644 --- a/thread.h +++ b/thread.h @@ -1,4 +1,4 @@ -/* $Id: thread.h,v 1.5 2005/01/18 06:30:24 reinelt Exp $ +/* $Id: thread.h,v 1.6 2005/05/08 04:32:45 reinelt Exp $ * * thread handling (mutex, shmem, ...) * @@ -26,6 +26,9 @@ * * * $Log: thread.h,v $ + * Revision 1.6 2005/05/08 04:32:45 reinelt + * CodingStyle added and applied + * * Revision 1.5 2005/01/18 06:30:24 reinelt * added (C) to all copyright statements * @@ -50,14 +53,14 @@ #ifndef _THREAD_H_ #define _THREAD_H_ -int mutex_create (void); -void mutex_lock (const int semid); -void mutex_unlock (const int semid); -void mutex_destroy (const int semid); +int mutex_create(void); +void mutex_lock(const int semid); +void mutex_unlock(const int semid); +void mutex_destroy(const int semid); -int shm_create (void **buffer, const int size); -void shm_destroy (const int shmid, const void *buffer); +int shm_create(void **buffer, const int size); +void shm_destroy(const int shmid, const void *buffer); -int thread_create (const char *name, void (*thread)(void *data), void *data); +int thread_create(const char *name, void (*thread) (void *data), void *data); #endif -- cgit v1.2.3