From 2305cb73ecec3ce24188abc4ad0f1cac5c9ad293 Mon Sep 17 00:00:00 2001 From: "K. Lange" Date: Mon, 18 Apr 2022 10:08:12 -0400 Subject: [PATCH] top: comments --- apps/top.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/top.c b/apps/top.c index 3eafedb4..30d30ca0 100644 --- a/apps/top.c +++ b/apps/top.c @@ -4,7 +4,7 @@ * @copyright * This file is part of ToaruOS and is released under the terms * of the NCSA / University of Illinois License - see LICENSE.md - * Copyright (C) 2021 K. Lange + * Copyright (C) 2021-2022 K. Lange */ #include #include @@ -510,6 +510,9 @@ static void next_sort_order(void) { } } +/** + * @brief Switch sorting to the previous column. + */ static void prev_sort_order(void) { size_t column_count = sizeof(columns)/sizeof(*columns); for (size_t i = 0; i < column_count; ++i) {