summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libstore/ChangeLog5
-rw-r--r--libstore/part.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/libstore/ChangeLog b/libstore/ChangeLog
index 3a1ab75e..af039a11 100644
--- a/libstore/ChangeLog
+++ b/libstore/ChangeLog
@@ -1,5 +1,10 @@
2001-10-01 Marcus Brinkmann <marcus@gnu.org>
+ * part.c: Add const to type.
+ Reported by Jeroen Dekkers.
+
+2001-10-01 Marcus Brinkmann <marcus@gnu.org>
+
* device.c (dev_error): Add a break to silence gcc warning.
(store_device_class): Add const to type.
* typed.c (store_typed_open_class): Likewise.
diff --git a/libstore/part.c b/libstore/part.c
index 227a5c84..ef5e1875 100644
--- a/libstore/part.c
+++ b/libstore/part.c
@@ -190,5 +190,5 @@ store_part_open (const char *name, int flags,
return err;
}
-struct store_class
+const struct store_class
store_part_class = { -1, "part", open: store_part_open };