Update code style
Limit source code to 80 chars, and declare functions return type and modifiers on a separate line. This allows to avoid very long lines, and all function names are aligned. (We do this on VLC, and I like it.)
This commit is contained in:
@@ -5,9 +5,16 @@
|
||||
typedef struct SDL_mutex SDL_mutex;
|
||||
typedef struct SDL_cond SDL_cond;
|
||||
|
||||
void mutex_lock(SDL_mutex *mutex);
|
||||
void mutex_unlock(SDL_mutex *mutex);
|
||||
void cond_wait(SDL_cond *cond, SDL_mutex *mutex);
|
||||
void cond_signal(SDL_cond *cond);
|
||||
void
|
||||
mutex_lock(SDL_mutex *mutex);
|
||||
|
||||
void
|
||||
mutex_unlock(SDL_mutex *mutex);
|
||||
|
||||
void
|
||||
cond_wait(SDL_cond *cond, SDL_mutex *mutex);
|
||||
|
||||
void
|
||||
cond_signal(SDL_cond *cond);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user