added 'const' to function prototype vars where possible
Added the 'const' qualifier to function prototype variables where possible. In addition, reduced some functions to file-scope with 'static' where possible. Also made a few minor changes to remove extra whitespace, and fixed a bug in create_fwknoprc() to ensure the new fwknoprc filehandle is closed.
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
/* Generic hex dump function.
|
||||
*/
|
||||
void
|
||||
hex_dump(unsigned char *data, int size)
|
||||
hex_dump(const unsigned char *data, const int size)
|
||||
{
|
||||
int ln, i, j = 0;
|
||||
char ascii_str[17] = {0};
|
||||
|
||||
Reference in New Issue
Block a user