From 2acedc64133925c3ce0f1c8fde84d6e4ed4b62c6 Mon Sep 17 00:00:00 2001 From: ayin Date: Sun, 26 Aug 2007 17:56:19 +0000 Subject: [PATCH] Make some inline functions static. --- src/rxvt.h | 4 ++-- src/screen.C | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rxvt.h b/src/rxvt.h index 3e4632bb..59a2bfcf 100644 --- a/src/rxvt.h +++ b/src/rxvt.h @@ -133,7 +133,7 @@ void rxvt_freecommastring (char **cs) NOTHROW; extern char **environ; extern char **rxvt_environ; // the original environ pointer -inline void set_environ (stringvec *envv) +static inline void set_environ (stringvec *envv) { #if ENABLE_PERL assert (envv); @@ -143,7 +143,7 @@ inline void set_environ (stringvec *envv) environ = (char **)envv->begin (); } -inline void set_environ (char **envv) +static inline void set_environ (char **envv) { #if ENABLE_PERL assert (envv); diff --git a/src/screen.C b/src/screen.C index c30d7499..a280c089 100644 --- a/src/screen.C +++ b/src/screen.C @@ -32,7 +32,7 @@ #include "salloc.C" // HACK, should be a seperate compile! -inline void fill_text (text_t *start, text_t value, int len) +static inline void fill_text (text_t *start, text_t value, int len) { while (len--) *start++ = value; -- 2.34.1