Commit e10a410d authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Make default_oc_methods static to stevedore.c

parent 6bf50b29
......@@ -363,8 +363,6 @@ struct objcore_methods {
getlru_f *getlru;
};
extern struct objcore_methods default_oc_methods;
struct objcore {
unsigned magic;
#define OBJCORE_MAGIC 0x4d301302
......
......@@ -53,6 +53,7 @@ static VTAILQ_HEAD(, stevedore) stevedores =
static const struct stevedore * volatile stv_next;
static struct stevedore *stv_transient;
static struct objcore_methods default_oc_methods;
/*--------------------------------------------------------------------
*/
......@@ -339,7 +340,7 @@ default_oc_getlru(const struct objcore *oc)
return (o->objstore->stevedore->lru);
}
struct objcore_methods default_oc_methods = {
static struct objcore_methods default_oc_methods = {
.getobj = default_oc_getobj,
.freeobj = default_oc_freeobj,
.getlru = default_oc_getlru,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment