Standardise include guard in modval.h

Move the #ifndef / #define together at the start of the file, to trigger the compiler's include
guard optimisation.
This commit is contained in:
Kevin Easton
2017-05-04 00:05:02 +10:00
parent 107774aa51
commit be65ab7adb

View File

@@ -1,4 +1,5 @@
#ifndef _MODVAL_ #ifndef MODVAL_H_
#define MODVAL_H_
/* include this so we have the enum table just in case someone forgets. */ /* include this so we have the enum table just in case someone forgets. */
@@ -23,7 +24,6 @@
* Copyright Colten Edwards July 1998. * Copyright Colten Edwards July 1998.
*/ */
#define _MODVAL_
#ifndef BUILT_IN_DLL #ifndef BUILT_IN_DLL
#define BUILT_IN_DLL(x) \ #define BUILT_IN_DLL(x) \
void x (IrcCommandDll *intp, char *command, char *args, char *subargs, char *helparg) void x (IrcCommandDll *intp, char *command, char *args, char *subargs, char *helparg)