From: deraadt Date: Thu, 4 Jan 2018 17:44:20 +0000 (+0000) Subject: glaring KNF violation X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5af343a9f1542d45eb0dd954303e6e825acb18fd;p=openbsd glaring KNF violation --- diff --git a/usr.bin/top/display.c b/usr.bin/top/display.c index 2b2e678b63f..c9bd7064a75 100644 --- a/usr.bin/top/display.c +++ b/usr.bin/top/display.c @@ -1,4 +1,4 @@ -/* $OpenBSD: display.c,v 1.53 2017/12/18 05:51:53 cheloha Exp $ */ +/* $OpenBSD: display.c,v 1.54 2018/01/04 17:44:20 deraadt Exp $ */ /* * Top users/processes display for Unix @@ -205,6 +205,7 @@ display_init(struct statics * statics) /* return number of lines available */ return (display_lines); } + static void format_uptime(char *buf, size_t buflen) {