aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-10-10 18:16:21 +0000
committerGuy Harris <guy@alum.mit.edu>2005-10-10 18:16:21 +0000
commitb12b8769887e92f3a9e3985ec2e012ee5d860da5 (patch)
tree1102597fb11edf7abf8891c01680aed80665315b
parentef966c3377ebcb6f0f15924a740e2c3653d1089d (diff)
Include "register.h" in the machine-generated code to register taps, so
that the definition of the function the machine-generated code defines is checked against the declaration of that function in "register.h". svn path=/trunk/; revision=16180
-rwxr-xr-xmake-tapreg-dotc3
1 files changed, 2 insertions, 1 deletions
diff --git a/make-tapreg-dotc b/make-tapreg-dotc
index aa5e6931ea..686f308011 100755
--- a/make-tapreg-dotc
+++ b/make-tapreg-dotc
@@ -22,7 +22,8 @@ shift
#
rm -f ${outfile}-tmp
echo '/* Do not modify this file. */' >${outfile}-tmp
-echo '/* It is created automatically by the Makefile. */'>>${outfile}-tmp
+echo '/* It is created automatically by the Makefile. */' >>${outfile}-tmp
+echo '#include "register.h"' >>${outfile}-tmp
#
# Build code to call all the tap listener registration routines.