chiark / gitweb /
volume_id: define exported symbols
[elogind.git] / extras / volume_id / lib / volume_id.c
index 073ad79c7723834e7f72291ea3557353a5466e46..9f8e39b51814f28928b2db02ac110b07c0b4c51a 100644 (file)
@@ -35,14 +35,14 @@ static void default_log(int priority, const char *file, int line, const char *fo
        return;
 }
 
-volume_id_log_fn volume_id_log = default_log;
+volume_id_log_fn_t volume_id_log_fn = default_log;
 
 int volume_id_probe_raid(struct volume_id *id, uint64_t off, uint64_t size)
 {
        if (id == NULL)
                return -EINVAL;
 
-       /* probe for raid first, cause fs probes may be successful on raid members */
+       /* probe for raid first, because fs probes may be successful on raid members */
        if (size) {
                if (volume_id_probe_linux_raid(id, off, size) == 0)
                        goto found;