summaryrefslogtreecommitdiff
path: root/libstore
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2001-10-01 18:46:38 +0000
committerMarcus Brinkmann <marcus@gnu.org>2001-10-01 18:46:38 +0000
commit25f74dd0808266606751650b3846ca9746b8835a (patch)
tree8077bcbf1b507991e6e09222464c702cd8657b93 /libstore
parentb0401e906b64ebd0f6c7624f4f094e980948fb7d (diff)
2001-10-01 Marcus Brinkmann <marcus@gnu.org>
* part.c: Add const to type. Reported by Jeroen Dekkers.
Diffstat (limited to 'libstore')
-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 };