summaryrefslogtreecommitdiff
path: root/dmidecode.h
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2008-10-28 09:41:07 +0000
committerJean Delvare <jdelvare@suse.de>2008-10-28 09:41:07 +0000
commitc1666d8deb9f3e20b7b066df2417ce924586a2b8 (patch)
treecb68dccb113fadee3b41b9cd59e3a0c4a4a838b3 /dmidecode.h
parent68b3681f6027ef1e36c321924cfd05b9b57101e4 (diff)
downloaddmidecode-git-c1666d8deb9f3e20b7b066df2417ce924586a2b8.tar.gz
Mark a few pointers const.
Diffstat (limited to 'dmidecode.h')
-rw-r--r--dmidecode.h4
1 files changed, 2 insertions, 2 deletions
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 <khali@linux-fr.org>
+ * Copyright (C) 2005-2008 Jean Delvare <khali@linux-fr.org>
*
* 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);