From 3f1ec7b6288cbf49260ea18844e56f7cbdf860ca Mon Sep 17 00:00:00 2001 From: david Date: Fri, 20 Aug 2010 16:34:59 +0000 Subject: [PATCH] Add missing NOLUA guards around the prototypes for printscriptresults and printhostscriptresults. --- output.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/output.h b/output.h index 5e69af52c..1ad621a04 100644 --- a/output.h +++ b/output.h @@ -213,10 +213,12 @@ void printosscanoutput(Target *currenths); service scan (if it was performed) */ void printserviceinfooutput(Target *currenths); +#ifndef NOLUA /* Use this function to report NSE_PRE_SCAN and NSE_POST_SCAN results */ void printscriptresults(ScriptResults *scriptResults, stype scantype); void printhostscriptresults(Target *currenths); +#endif /* Print a table with traceroute hops. */ void printtraceroute(Target *currenths);