diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-10-10 18:16:21 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-10-10 18:16:21 +0000 |
commit | b12b8769887e92f3a9e3985ec2e012ee5d860da5 (patch) | |
tree | 1102597fb11edf7abf8891c01680aed80665315b | |
parent | ef966c3377ebcb6f0f15924a740e2c3653d1089d (diff) | |
download | wireshark-b12b8769887e92f3a9e3985ec2e012ee5d860da5.tar.gz wireshark-b12b8769887e92f3a9e3985ec2e012ee5d860da5.tar.bz2 wireshark-b12b8769887e92f3a9e3985ec2e012ee5d860da5.zip |
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-x | make-tapreg-dotc | 3 |
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. |