Commit 2b9a15d4 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Make vdef.h an "include only once" header

parent 34758f90
......@@ -42,7 +42,6 @@
#include "vtc.h"
#include "vdef.h"
#include "vev.h"
#include "vfil.h"
#include "vnum.h"
......
......@@ -32,7 +32,9 @@
*
*/
#ifndef VDEF_H_INCLUDED
#ifdef VDEF_H_INCLUDED
# error "vdef.h included multiple times"
#endif
#define VDEF_H_INCLUDED
/* Safe printf into a fixed-size buffer */
......@@ -160,5 +162,3 @@
# define ___Static_assert(x, y) \
typedef char __assert_## y[(x) ? 1 : -1] __unused
#endif
#endif /* VDEF_H_INCLUDED */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment