X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/hmcfgusb/blobdiff_plain/9db2e455127fa181c68cf093d23fe0c1ee142925..5aa2bb3eb67f181638ac7c0243beba7974e2b0b0:/hexdump.h diff --git a/hexdump.h b/hexdump.h index 286435c..127bfb0 100644 --- a/hexdump.h +++ b/hexdump.h @@ -1,6 +1,6 @@ /* simple hexdumper * - * Copyright (c) 2004-2013 Michael Gernoth + * Copyright (c) 2004-2016 Michael Gernoth * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to @@ -21,7 +21,7 @@ * IN THE SOFTWARE. */ -static void asciishow(unsigned char *buf, int len) +static void asciishow(const unsigned char *buf, int len) { int i; @@ -35,7 +35,7 @@ static void asciishow(unsigned char *buf, int len) } } -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;