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:
Romain Vimont
2019-03-02 20:28:46 +01:00
parent b2fe005498
commit aeda583a2c
45 changed files with 813 additions and 409 deletions
+6 -3
View File
@@ -2,15 +2,18 @@
# include <unistd.h>
SDL_bool net_init(void) {
SDL_bool
net_init(void) {
// do nothing
return SDL_TRUE;
}
void net_cleanup(void) {
void
net_cleanup(void) {
// do nothing
}
SDL_bool net_close(socket_t socket) {
SDL_bool
net_close(socket_t socket) {
return !close(socket);
}