From c1666d8deb9f3e20b7b066df2417ce924586a2b8 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Tue, 28 Oct 2008 09:41:07 +0000 Subject: Mark a few pointers const. --- dmidecode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dmidecode.h') diff --git a/dmidecode.h b/dmidecode.h index ae284f7..cae627b 100644 --- a/dmidecode.h +++ b/dmidecode.h @@ -1,7 +1,7 @@ /* * This file is part of the dmidecode project. * - * Copyright (C) 2005-2007 Jean Delvare + * Copyright (C) 2005-2008 Jean Delvare * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,4 +26,4 @@ struct dmi_header u8 *data; }; -const char *dmi_string(struct dmi_header *dm, u8 s); +const char *dmi_string(const struct dmi_header *dm, u8 s); -- cgit v1.2.1