Reformatting code using Kernighan & Ritchie style, tabs, tab width=4.

Command line: astyle --style=kr --indent=force-tab=4 --lineend=linux -n -r <file names>
This commit is contained in:
lotodore
2011-02-11 20:02:08 +00:00
parent 29dca1846e
commit 02518c67b2
232 changed files with 22743 additions and 21044 deletions
+9 -9
View File
@@ -21,21 +21,21 @@
#define _SOCKET_HELPER_H_
#ifndef bzero
#include <cstring>
#define bzero(_ptr, _n) std::memset(_ptr, 0, _n)
#include <cstring>
#define bzero(_ptr, _n) std::memset(_ptr, 0, _n)
#endif
#ifdef _WIN32
#ifdef __GNUC__ /* mingw provides stdint.h */
#include <stdint.h>
typedef uint16_t u_int16_t;
typedef uint32_t u_int32_t;
#include <stdint.h>
typedef uint16_t u_int16_t;
typedef uint32_t u_int32_t;
#else
typedef unsigned __int16 u_int16_t;
typedef unsigned __int32 u_int32_t;
typedef __int16 int16_t;
typedef __int32 int32_t;
typedef unsigned __int16 u_int16_t;
typedef unsigned __int32 u_int32_t;
typedef __int16 int16_t;
typedef __int32 int32_t;
#endif
typedef unsigned char u_char;