test: move include guards up to wrap the whole file
See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
This commit is contained in:
parent
3f0bd17d1d
commit
72197b80b0
|
@ -21,6 +21,9 @@
|
||||||
* DEALINGS IN THE SOFTWARE.
|
* DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef PROTOCOL_COMMON_H
|
||||||
|
#define PROTOCOL_COMMON_H
|
||||||
|
|
||||||
#ifdef HAVE_DIX_CONFIG_H
|
#ifdef HAVE_DIX_CONFIG_H
|
||||||
#include <dix-config.h>
|
#include <dix-config.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -34,9 +37,6 @@
|
||||||
|
|
||||||
#include "tests.h"
|
#include "tests.h"
|
||||||
|
|
||||||
#ifndef PROTOCOL_COMMON_H
|
|
||||||
#define PROTOCOL_COMMON_H
|
|
||||||
|
|
||||||
/* Check default values in a reply */
|
/* Check default values in a reply */
|
||||||
#define reply_check_defaults(rep, len, type) \
|
#define reply_check_defaults(rep, len, type) \
|
||||||
{ \
|
{ \
|
||||||
|
|
Loading…
Reference in New Issue