/* simple hexdumper
*
- * Copyright (c) 2004-2013 Michael Gernoth <michael@gernoth.net>
+ * Copyright (c) 2004-2016 Michael Gernoth <michael@gernoth.net>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* IN THE SOFTWARE.
*/
-static void asciishow(unsigned char *buf, int len)
+static void asciishow(const unsigned char *buf, int len)
{
int i;
}
}
-static void hexdump(unsigned char *buf, int len, char *prefix)
+static void hexdump(const unsigned char *buf, int len, const char *prefix)
{
int i, j;