diff options
author | Andrey Nazarov <skuller@skuller.net> | 2011-12-20 14:37:44 +0400 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2012-04-03 01:25:47 +0400 |
commit | b3e271a53de2610de173f9b2bda5d15dd4d78909 (patch) | |
tree | d567b91dadac42e168bcb13db5fe93ffbc7e1533 /src/io_sleep.h | |
parent | ca4a019a74b11aa21fea2a03c6dff3b183463aab (diff) |
Massive coding style change.
Use linux style brackets. Pad operators with spaces. Unpad parenthesis,
except for ‘if’, ‘for’, ‘while’ constructs.
Diffstat (limited to 'src/io_sleep.h')
-rw-r--r-- | src/io_sleep.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/io_sleep.h b/src/io_sleep.h index d4746ca..fa80418 100644 --- a/src/io_sleep.h +++ b/src/io_sleep.h @@ -8,7 +8,7 @@ of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. @@ -35,11 +35,11 @@ typedef struct { #endif } ioentry_t; -ioentry_t *IO_Add( int fd ); -void IO_Remove( int fd ); -ioentry_t *IO_Get( int fd ); -int IO_Sleep( int msec ); +ioentry_t *IO_Add(int fd); +void IO_Remove(int fd); +ioentry_t *IO_Get(int fd); +int IO_Sleep(int msec); #if USE_AC_SERVER -int IO_Sleepv( int msec, ... ); +int IO_Sleepv(int msec, ...); #endif |