mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Loads more static, except for cmd-*.c and window-*.c.
This commit is contained in:
@ -28,11 +28,10 @@
|
||||
*/
|
||||
|
||||
RB_HEAD(environ, environ_entry);
|
||||
int environ_cmp(struct environ_entry *, struct environ_entry *);
|
||||
RB_PROTOTYPE(environ, environ_entry, entry, environ_cmp);
|
||||
RB_GENERATE(environ, environ_entry, entry, environ_cmp);
|
||||
static int environ_cmp(struct environ_entry *, struct environ_entry *);
|
||||
RB_GENERATE_STATIC(environ, environ_entry, entry, environ_cmp);
|
||||
|
||||
int
|
||||
static int
|
||||
environ_cmp(struct environ_entry *envent1, struct environ_entry *envent2)
|
||||
{
|
||||
return (strcmp(envent1->name, envent2->name));
|
||||
|
Reference in New Issue
Block a user