Loads more static, except for cmd-*.c and window-*.c.

This commit is contained in:
nicm
2016-10-10 21:29:23 +00:00
parent 66b5477cc1
commit c426e485e5
25 changed files with 301 additions and 295 deletions

View File

@ -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));