diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2016-10-17 19:25:45 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2016-10-17 19:25:45 +0100 |
commit | f6c49cecc18df02579473095818935e8271fbfbc (patch) | |
tree | c41787de20debca17f2676be2704146d68205cca | |
parent | 7ba845297fd60c784ecff248b27db109750211bf (diff) | |
download | rtmux-f6c49cecc18df02579473095818935e8271fbfbc.tar.gz rtmux-f6c49cecc18df02579473095818935e8271fbfbc.tar.bz2 rtmux-f6c49cecc18df02579473095818935e8271fbfbc.zip |
One extra empty line not in OpenBSD, and tweak a #define style.
-rw-r--r-- | proc.c | 1 | ||||
-rw-r--r-- | tools/cmp-cvs.sh | 2 | ||||
-rw-r--r-- | xmalloc.h | 2 |
3 files changed, 2 insertions, 3 deletions
@@ -190,7 +190,6 @@ proc_start(const char *name, struct event_base *base, int forkflag, } log_open(name); - setproctitle("%s (%s)", name, socket_path); if (uname(&u) < 0) diff --git a/tools/cmp-cvs.sh b/tools/cmp-cvs.sh index 5429d769..048ad15c 100644 --- a/tools/cmp-cvs.sh +++ b/tools/cmp-cvs.sh @@ -4,7 +4,7 @@ rm diff.out touch diff.out for i in *.[ch]; do - diff -u $i /usr/src/usr.bin/tmux/$i >diff.tmp + diff -u -I'\$OpenBSD' $i /usr/src/usr.bin/tmux/$i >diff.tmp set -- `wc -l diff.tmp` [ $1 -eq 8 ] && continue echo $i @@ -20,7 +20,7 @@ #define XMALLOC_H #if !defined(__bounded__) -# define __bounded__(x, y, z) +#define __bounded__(x, y, z) #endif void *xmalloc(size_t); |