Fix indentation of #define in src/plugins/imb/imbapi.c

This commit is contained in:
Zdenek Styblik 2016-06-05 07:20:02 +02:00
parent 0ffe39dedc
commit 9b1a1a1e82

View File

@ -80,48 +80,48 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define IMB_API #define IMB_API
#ifdef WIN32 #ifdef WIN32
#define NO_MACRO_ARGS 1 # define NO_MACRO_ARGS 1
#include <windows.h> # include <stdio.h>
#include <stdio.h> # include <windows.h>
#else /* LINUX, SCO_UW, UNIX */ #else /* LINUX, SCO_UW, UNIX */
#include <unistd.h> # include <fcntl.h>
#include <sys/param.h> # include <stdio.h>
#include <sys/types.h> # include <stdlib.h>
#include <sys/stat.h> # include <string.h>
#include <sys/mman.h> # include <sys/ioctl.h>
#include <sys/ioctl.h> # include <sys/mman.h>
#include <stdio.h> # include <sys/param.h>
#include <stdlib.h> # include <sys/stat.h>
#include <fcntl.h> # include <sys/types.h>
#include <string.h> # include <unistd.h>
#endif #endif
#include "imbapi.h" #include "imbapi.h"
#include <sys/socket.h> #include <sys/socket.h>
#ifdef SCO_UW #ifdef SCO_UW
#define NO_MACRO_ARGS 1 # define NO_MACRO_ARGS 1
#define __FUNCTION__ "func" # define __FUNCTION__ "func"
#define IMB_DEVICE "/dev/instru/mismic" # define IMB_DEVICE "/dev/instru/mismic"
#else #else
#define IMB_DEVICE "/dev/imb" # define IMB_DEVICE "/dev/imb"
#endif #endif
#if !defined(PAGESIZE) && defined(PAGE_SIZE) #if !defined(PAGESIZE) && defined(PAGE_SIZE)
# define PAGESIZE PAGE_SIZE # define PAGESIZE PAGE_SIZE
#endif #endif
#if !defined(_SC_PAGESIZE) && defined(_SC_PAGE_SIZE) #if !defined(_SC_PAGESIZE) && defined(_SC_PAGE_SIZE)
# define _SC_PAGESIZE _SC_PAGE_SIZE # define _SC_PAGESIZE _SC_PAGE_SIZE
#endif #endif
/*Just to make the DEBUG code cleaner.*/ /*Just to make the DEBUG code cleaner.*/
#ifndef NO_MACRO_ARGS #ifndef NO_MACRO_ARGS
#ifdef LINUX_DEBUG # ifdef LINUX_DEBUG
#define DEBUG(format, args...) printf(format, ##args) # define DEBUG(format, args...) printf(format, ##args)
#else # else
#define DEBUG(format, args...) # define DEBUG(format, args...)
#endif # endif
#endif #endif
/* uncomment out the #define below or use -DLINUX_DEBUG_MAX in the makefile /* uncomment out the #define below or use -DLINUX_DEBUG_MAX in the makefile