X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/hmcfgusb/blobdiff_plain/9db2e455127fa181c68cf093d23fe0c1ee142925..b8d1d0c3fc27e563273a0c6d0a10ebe673ea2904:/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;