Make some inline functions static.
authorayin <ayin>
Sun, 26 Aug 2007 17:56:19 +0000 (17:56 +0000)
committerayin <ayin>
Sun, 26 Aug 2007 17:56:19 +0000 (17:56 +0000)
src/rxvt.h
src/screen.C

index 3e4632bb3b1084690d49afb127ee7e22500b1075..59a2bfcfa76032b7b2764a19fe915bfc5bf4ba08 100644 (file)
@@ -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);
index c30d74997f27d36b1ecd59f15a85c6a0cbdda6c8..a280c089ad8400c1f14a33f34f88a87635cdf350 100644 (file)
@@ -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;