Enforce const correctness
Clang enforces const correctness. Apply its fixes.
Change-Id: I93f6a6dcb11844003a3691292de721e3b72b4a47
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/cper-utils.h b/cper-utils.h
index 9ab7a5a..22280fe 100644
--- a/cper-utils.h
+++ b/cper-utils.h
@@ -18,10 +18,11 @@
const char *names[]);
void ir_to_uniform_struct64(json_object *ir, UINT64 *start, int len,
const char *names[]);
-json_object *integer_to_readable_pair(UINT64 value, int len, int keys[],
+json_object *integer_to_readable_pair(UINT64 value, int len, const int keys[],
const char *values[],
const char *default_value);
-json_object *integer_to_readable_pair_with_desc(int value, int len, int keys[],
+json_object *integer_to_readable_pair_with_desc(int value, int len,
+ const int keys[],
const char *values[],
const char *descriptions[],
const char *default_value);