From be65ab7adb863f4171a63c943aad6f57dff40d5b Mon Sep 17 00:00:00 2001 From: Kevin Easton Date: Thu, 4 May 2017 00:05:02 +1000 Subject: [PATCH] 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. --- include/modval.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/modval.h b/include/modval.h index f66af55..c3fe7cb 100644 --- a/include/modval.h +++ b/include/modval.h @@ -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. */ @@ -23,7 +24,6 @@ * Copyright Colten Edwards July 1998. */ -#define _MODVAL_ #ifndef BUILT_IN_DLL #define BUILT_IN_DLL(x) \ void x (IrcCommandDll *intp, char *command, char *args, char *subargs, char *helparg)