summaryrefslogtreecommitdiffstats
path: root/dmi.c
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-27 09:47:11 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-27 09:47:11 +0000
commit93709c1e927c78fce18bdb81d22e8e17051e6f6d (patch)
tree59a0328544b5e6e99c5d0c6514f8e7b3679360dc /dmi.c
parent854fece86dce2de112b2fee8c4d3d1078d94e0ef (diff)
downloadldetect-93709c1e927c78fce18bdb81d22e8e17051e6f6d.tar
ldetect-93709c1e927c78fce18bdb81d22e8e17051e6f6d.tar.gz
ldetect-93709c1e927c78fce18bdb81d22e8e17051e6f6d.tar.bz2
ldetect-93709c1e927c78fce18bdb81d22e8e17051e6f6d.tar.xz
ldetect-93709c1e927c78fce18bdb81d22e8e17051e6f6d.zip
try harder to reduce number of relocations (most remaining ones are due to
arrays of pointers)
Diffstat (limited to 'dmi.c')
-rw-r--r--dmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmi.c b/dmi.c
index 2605e5f..b0df357 100644
--- a/dmi.c
+++ b/dmi.c
@@ -22,7 +22,7 @@ struct category {
const char **fields;
};
-static struct category categories[] = {
+static const struct category categories[] = {
{ "BIOS", psizeof(cat_BIOS), cat_BIOS },
{ "System", psizeof(cat_System), cat_System },
{ "Base Board", psizeof(cat_Base_Board), cat_Base_Board },