Tanay Abhra <tanayabh@xxxxxxxxx> writes: > --- a/alias.c > +++ b/alias.c > @@ -1,26 +1,13 @@ > #include "cache.h" > > -static const char *alias_key; > -static char *alias_val; > - > -static int alias_lookup_cb(const char *k, const char *v, void *cb) > -{ > - const char *name; > - if (skip_prefix(k, "alias.", &name) && !strcmp(name, alias_key)) { > - if (!v) > - return config_error_nonbool(k); > - alias_val = xstrdup(v); > - return 0; > - } > - return 0; > -} > - > -char *alias_lookup(const char *alias) > +char *alias_lookup(const char* alias) Style: keep the * stuck to alias. -- Matthieu Moy http://www-verimag.imag.fr/~moy/ -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html