ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvt.h
(Generate patch)

Comparing rxvt-unicode/src/rxvt.h (file contents):
Revision 1.297 by ayin, Sun Aug 26 16:55:58 2007 UTC vs.
Revision 1.298 by ayin, Sun Aug 26 17:56:19 2007 UTC

131 131
132// temporarily replace the process environment 132// temporarily replace the process environment
133extern char **environ; 133extern char **environ;
134extern char **rxvt_environ; // the original environ pointer 134extern char **rxvt_environ; // the original environ pointer
135 135
136inline void set_environ (stringvec *envv) 136static inline void set_environ (stringvec *envv)
137{ 137{
138#if ENABLE_PERL 138#if ENABLE_PERL
139 assert (envv); 139 assert (envv);
140#else 140#else
141 if (envv) 141 if (envv)
142#endif 142#endif
143 environ = (char **)envv->begin (); 143 environ = (char **)envv->begin ();
144} 144}
145 145
146inline void set_environ (char **envv) 146static inline void set_environ (char **envv)
147{ 147{
148#if ENABLE_PERL 148#if ENABLE_PERL
149 assert (envv); 149 assert (envv);
150#else 150#else
151 if (envv) 151 if (envv)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines