One extra empty line not in OpenBSD, and tweak a #define style.

pull/593/head
Nicholas Marriott 2016-10-17 19:25:45 +01:00
parent 7ba845297f
commit f6c49cecc1
3 changed files with 2 additions and 3 deletions

1
proc.c
View File

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

View File

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

View File

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