[master] 6aead7b Polish
Poul-Henning Kamp
phk at FreeBSD.org
Sat Sep 23 11:56:06 UTC 2017
commit 6aead7b385e25f93f6754ced28d4b44e9bbf5731
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Sat Sep 23 11:50:54 2017 +0000
Polish
diff --git a/include/Makefile.am b/include/Makefile.am
index b3401c2..dde6a89 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -119,7 +119,7 @@ CLEANFILES = \
$(GENERATED_H) \
vrt_test \
_vrt_test \
- vrt.c
+ _vrt.c
TESTS = vbm_test vrt_test
@@ -127,11 +127,11 @@ noinst_PROGRAMS = vbm_test
vbm_test_SOURCES = vbm_test.c vbm.h
-vrt.c: Makefile.am vdef.h vrt.h
+_vrt.c: Makefile.am vdef.h vrt.h
cat $(srcdir)/vdef.h $(srcdir)/vrt.h > $@
-vrt_test: vrt.c
- echo "exec ${CC} -c -o _vrt_test vrt.c" > $@
+vrt_test: _vrt.c
+ echo "exec ${CC} -c -o _vrt_test _vrt.c" > $@
chmod +x $@
test: ${TESTS}
diff --git a/include/vrt.h b/include/vrt.h
index db34e79..fc08b68 100644
--- a/include/vrt.h
+++ b/include/vrt.h
@@ -36,6 +36,10 @@
#endif
#define VRT_H_INCLUDED
+#ifndef VDEF_H_INCLUDED
+# error "include vdef.h before vrt.h"
+#endif
+
/***********************************************************************
* Major and minor VRT API versions.
*
@@ -75,13 +79,6 @@
#define VRT_MINOR_VERSION 1U
-
-/***********************************************************************/
-
-#ifndef VDEF_H_INCLUDED
-# error "include vdef.h before vrt.h"
-#endif
-
/***********************************************************************/
struct VCL_conf;
More information about the varnish-commit
mailing list