aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/top/display.c
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2018-06-13 08:52:22 +0000
committerEitan Adler <eadler@FreeBSD.org>2018-06-13 08:52:22 +0000
commit1de6384221baa2a4dc42b814f03f1b6397f29633 (patch)
tree35f56cfbea87acc45211fde6a71b79e5c907c1a9 /usr.bin/top/display.c
parentd18626664a860b5ade4580252b07e50de114d87d (diff)
downloadsrc-1de6384221baa2a4dc42b814f03f1b6397f29633.tar.gz
src-1de6384221baa2a4dc42b814f03f1b6397f29633.zip
Notes
Diffstat (limited to 'usr.bin/top/display.c')
-rw-r--r--usr.bin/top/display.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.bin/top/display.c b/usr.bin/top/display.c
index 7465066e8184..d5673819d8e2 100644
--- a/usr.bin/top/display.c
+++ b/usr.bin/top/display.c
@@ -160,7 +160,8 @@ display_resize(void)
return(smart_terminal ? lines : Largest);
}
-int display_updatecpus(struct statics *statics)
+int
+display_updatecpus(struct statics *statics)
{
int lines;
int i;
@@ -184,7 +185,8 @@ int display_updatecpus(struct statics *statics)
return(lines);
}
-int display_init(struct statics * statics)
+int
+display_init(struct statics * statics)
{
int lines;
char **pp;
@@ -1074,7 +1076,8 @@ readline(char *buffer, int size, int numeric)
/* internal support routines */
-static void summary_format(char *str, int *numbers, const char * const *names)
+static void
+summary_format(char *str, int *numbers, const char * const *names)
{
char *p;
int num;