Include "register.h" in the machine-generated code to register taps, so
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 10 Oct 2005 18:16:21 +0000 (18:16 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 10 Oct 2005 18:16:21 +0000 (18:16 +0000)
that the definition of the function the machine-generated code defines
is checked against the declaration of that function in "register.h".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16180 f5534014-38df-0310-8fa8-9805f1628bb7

make-tapreg-dotc

index aa5e6931eaf37fd10ecd858819bd6697f5b65687..686f308011dbcf430b1cfd6df52d4905af2612ef 100755 (executable)
@@ -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.