mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 21:21:31 +00:00
Some function declared parameters like this: int f(const char * const s) Where appropriate, I changed to int f(const char *s) The second const is a qualifier on the pointer itself; i.e., the value of s may not be changed (may not be made to point to anything else) within the function. This is probably not what was intended. The first const is what prevents modifying things referenced through s.
12 KiB
12 KiB