1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-18 21:49:01 +00:00

Cleaning up: consistently get event masks from a static inline get_evmask() function.

This commit is contained in:
henri
2012-10-22 04:26:19 +00:00
parent 62570b7be7
commit 9865b8f828
3 changed files with 16 additions and 16 deletions

View File

@@ -355,7 +355,7 @@ int select_loop(mspool *nsp, int msec_timeout) {
/* ---- INTERNAL FUNCTIONS ---- */
static int get_evmask(const mspool *nsp, const msiod *nsi) {
static inline int get_evmask(const mspool *nsp, const msiod *nsi) {
struct select_engine_info *sinfo = (struct select_engine_info *)nsp->engine_data;
int sd, evmask;