From: ayin Date: Thu, 11 Oct 2007 16:01:26 +0000 (+0000) Subject: Make x_resource a static function. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=d91c839c596f4fb8fdc11e0abf1f7702af6338a5;p=dana%2Furxvt.git Make x_resource a static function. --- diff --git a/src/rxvt.h b/src/rxvt.h index 51242986..a52fe65a 100644 --- a/src/rxvt.h +++ b/src/rxvt.h @@ -1134,7 +1134,6 @@ struct rxvt_term : zero_initialized, rxvt_vars, rxvt_screen { void init_secondary (); const char **init_resources (int argc, const char *const *argv); - const char *x_resource (const char *name); void init_env (); void set_locale (const char *locale); void init_xlocale (); diff --git a/src/xdefaults.C b/src/xdefaults.C index bfddb7e7..7b92fb54 100644 --- a/src/xdefaults.C +++ b/src/xdefaults.C @@ -776,8 +776,8 @@ get_res (XrmDatabase database, const char *program, const char *option) return result.addr; } -const char * -rxvt_term::x_resource (const char *name) +static const char * +x_resource (const char *name) { XrmDatabase database = XrmGetDatabase (dpy);