diff options
author | Johan Dahlin <johan@gnome.org> | 2004-03-15 16:32:54 +0000 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2004-03-15 16:32:54 +0000 |
commit | 39fd8a2dbd436cbabe5e336d1145b62c2a885ed5 (patch) | |
tree | 61df7da4a9d2b8bdb853af50a27219a8921bf5e4 /gst/modplug/libmodplug/stdafx.h | |
parent | 1633bd8693c54cbc5f6648703a7ecf01548ec55f (diff) | |
download | gst-plugins-bad-39fd8a2dbd436cbabe5e336d1145b62c2a885ed5.tar.gz gst-plugins-bad-39fd8a2dbd436cbabe5e336d1145b62c2a885ed5.tar.bz2 gst-plugins-bad-39fd8a2dbd436cbabe5e336d1145b62c2a885ed5.zip |
*.h: Revert indenting
Original commit message from CVS:
* *.h: Revert indenting
Diffstat (limited to 'gst/modplug/libmodplug/stdafx.h')
-rw-r--r-- | gst/modplug/libmodplug/stdafx.h | 44 |
1 files changed, 19 insertions, 25 deletions
diff --git a/gst/modplug/libmodplug/stdafx.h b/gst/modplug/libmodplug/stdafx.h index 76b8f67f..dc71ea8f 100644 --- a/gst/modplug/libmodplug/stdafx.h +++ b/gst/modplug/libmodplug/stdafx.h @@ -19,10 +19,7 @@ #include <mmsystem.h> #include <stdio.h> -inline void -ProcessPlugins (int n) -{ -} +inline void ProcessPlugins(int n) {} #else @@ -32,7 +29,7 @@ ProcessPlugins (int n) typedef signed char CHAR; typedef unsigned char UCHAR; -typedef unsigned char *PUCHAR; +typedef unsigned char* PUCHAR; typedef unsigned short USHORT; typedef unsigned long ULONG; typedef unsigned long UINT; @@ -40,24 +37,23 @@ typedef unsigned long DWORD; typedef long LONG; typedef unsigned short WORD; typedef unsigned char BYTE; -typedef unsigned char *LPBYTE; +typedef unsigned char * LPBYTE; typedef bool BOOL; -typedef char *LPSTR; -typedef void *LPVOID; -typedef long *LPLONG; -typedef unsigned long *LPDWORD; -typedef unsigned short *LPWORD; -typedef const char *LPCSTR; +typedef char * LPSTR; +typedef void * LPVOID; +typedef long * LPLONG; +typedef unsigned long * LPDWORD; +typedef unsigned short * LPWORD; +typedef const char * LPCSTR; typedef long long LONGLONG; -typedef void *PVOID; +typedef void * PVOID; typedef void VOID; -inline LONG -MulDiv (long a, long b, long c) +inline LONG MulDiv (long a, long b, long c) { /* if (!c) return 0; */ - return ((unsigned long long) a * (unsigned long long) b) / c; + return ((unsigned long long) a * (unsigned long long) b ) / c; } #define MODPLUG_NO_FILESAVE @@ -71,20 +67,15 @@ MulDiv (long a, long b, long c) #define GHND 0 -inline signed char * -GlobalAllocPtr (unsigned int, size_t size) +inline signed char * GlobalAllocPtr(unsigned int, size_t size) { - signed char *p = (signed char *) malloc (size); + signed char * p = (signed char *) malloc(size); - if (p != NULL) - memset (p, 0, size); + if (p != NULL) memset(p, 0, size); return p; } -inline void -ProcessPlugins (int n) -{ -} +inline void ProcessPlugins(int n) {} #define GlobalFreePtr(p) free((void *)(p)) @@ -102,3 +93,6 @@ ProcessPlugins (int n) #endif /* MSC_VER */ #endif + + + |