Skip to content

Commit d390c86

Browse files
ozgentimopollmeier
authored andcommitted
Fix: Fix unused functions if the OPENVASD flag is set
1 parent e26b016 commit d390c86

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/manage.c

+4
Original file line numberDiff line numberDiff line change
@@ -7499,6 +7499,7 @@ gvm_get_sync_script_feed_version (const gchar * sync_script,
74997499
return TRUE;
75007500
}
75017501

7502+
#if OPENVASD == 0
75027503
/**
75037504
* @brief Get VTs feed information from a scanner.
75047505
*
@@ -7553,6 +7554,7 @@ nvts_feed_info_internal (const gchar *update_socket,
75537554

75547555
return 0;
75557556
}
7557+
#endif
75567558

75577559
#if OPENVASD
75587560
/**
@@ -7628,6 +7630,7 @@ nvts_feed_info (gchar **vts_version, gchar **feed_name, gchar **feed_vendor,
76287630
#endif
76297631
}
76307632

7633+
#if OPENVASD == 0
76317634
/**
76327635
* @brief Check the VTs feed sync for information using a OSP socket.
76337636
*
@@ -7670,6 +7673,7 @@ nvts_check_feed_internal (const char *update_socket,
76707673

76717674
return 0;
76727675
}
7676+
#endif
76737677

76747678
/**
76757679
* @brief Check the VTs feed sync for information using the default OSP socket.

0 commit comments

Comments
 (0)