mirror of
https://github.com/nmap/nmap.git
synced 2026-08-27 03:48:14 +00:00
Make the parameter to parse_fingerprint_file const.
This commit is contained in:
parent
44f6087b94
commit
9c646a4873
2 changed files with 2 additions and 2 deletions
|
|
@ -992,7 +992,7 @@ void free_fingerprint_file(FingerPrintDB *DB) {
|
|||
}
|
||||
|
||||
|
||||
FingerPrintDB *parse_fingerprint_file(char *fname) {
|
||||
FingerPrintDB *parse_fingerprint_file(const char *fname) {
|
||||
FingerPrintDB *DB = NULL;
|
||||
FingerPrint *current;
|
||||
FILE *fp;
|
||||
|
|
|
|||
2
osscan.h
2
osscan.h
|
|
@ -130,7 +130,7 @@ FingerPrint *parse_single_fingerprint(char *fprint_orig);
|
|||
/* These functions take a file/db name and open+parse it, returning an
|
||||
(allocated) FingerPrintDB containing the results. They exit with
|
||||
an error message in the case of error. */
|
||||
FingerPrintDB *parse_fingerprint_file(char *fname);
|
||||
FingerPrintDB *parse_fingerprint_file(const char *fname);
|
||||
FingerPrintDB *parse_fingerprint_reference_file(const char *dbname);
|
||||
|
||||
void free_fingerprint_file(FingerPrintDB *DB);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue