@@ -499,7 +499,7 @@ void foreign_multipath_layout(fieldwidth_t *width)
pthread_cleanup_pop(1);
}
-static int __snprint_foreign_topology(struct strbuf *buf, int verbosity,
+static int snprint_foreign_topology__(struct strbuf *buf, int verbosity,
const fieldwidth_t *width)
{
struct foreign *fgn;
@@ -540,7 +540,7 @@ int snprint_foreign_topology(struct strbuf *buf, int verbosity,
return 0;
}
pthread_cleanup_push(unlock_foreigns, NULL);
- rc = __snprint_foreign_topology(buf, verbosity, width);
+ rc = snprint_foreign_topology__(buf, verbosity, width);
pthread_cleanup_pop(1);
return rc;
}
@@ -570,7 +570,7 @@ void print_foreign_topology(int verbosity)
fgn->release_paths(fgn->context, vec);
pthread_cleanup_pop(1);
}
- __snprint_foreign_topology(&buf, verbosity, width);
+ snprint_foreign_topology__(&buf, verbosity, width);
pthread_cleanup_pop(1);
printf("%s", get_strbuf_str(&buf));
}
@@ -32,7 +32,7 @@ enum foreign_retcode {
FOREIGN_UNCLAIMED,
FOREIGN_NODEV,
FOREIGN_ERR,
- __LAST_FOREIGN_RETCODE,
+ LAST_FOREIGN_RETCODE__,
};
/**
... and __LAST_FOREIGN_RETCODE. Signed-off-by: Martin Wilck <mwilck@suse.com> --- libmultipath/foreign.c | 6 +++--- libmultipath/foreign.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)