mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Move math.h includes into .cc files
This commit is contained in:
@@ -133,6 +133,8 @@
|
|||||||
#include "FPModel.h"
|
#include "FPModel.h"
|
||||||
extern NmapOps o;
|
extern NmapOps o;
|
||||||
|
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Globals. *
|
* Globals. *
|
||||||
|
|||||||
1
nmap.h
1
nmap.h
@@ -233,7 +233,6 @@ void *realloc();
|
|||||||
/* Keep assert() defined for security reasons */
|
/* Keep assert() defined for security reasons */
|
||||||
#undef NDEBUG
|
#undef NDEBUG
|
||||||
|
|
||||||
#include <math.h>
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
#if HAVE_SYS_RESOURCE_H
|
#if HAVE_SYS_RESOURCE_H
|
||||||
|
|||||||
@@ -21,6 +21,8 @@
|
|||||||
#include "nse_debug.h"
|
#include "nse_debug.h"
|
||||||
#include "nse_lpeg.h"
|
#include "nse_lpeg.h"
|
||||||
|
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
#define NSE_MAIN "NSE_MAIN" /* the main function */
|
#define NSE_MAIN "NSE_MAIN" /* the main function */
|
||||||
|
|
||||||
/* Script Scan phases */
|
/* Script Scan phases */
|
||||||
|
|||||||
@@ -136,6 +136,7 @@
|
|||||||
#include "struct_ip.h"
|
#include "struct_ip.h"
|
||||||
|
|
||||||
#include <list>
|
#include <list>
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
extern NmapOps o;
|
extern NmapOps o;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user