git: 730b3e20069b - main - ps(1): Sort headers
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Jan 2026 16:35:19 UTC
The branch main has been updated by olce:
URL: https://cgit.FreeBSD.org/src/commit/?id=730b3e20069b7115d16f02525103c6c05fa04759
commit 730b3e20069b7115d16f02525103c6c05fa04759
Author: Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2026-01-08 15:20:38 +0000
Commit: Olivier Certner <olce@FreeBSD.org>
CommitDate: 2026-01-09 16:34:51 +0000
ps(1): Sort headers
Found these changes by chance in an old patch file. Should have been
committed along with the ps(1) modifications done in March 2025.
No functional change (intended).
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
---
bin/ps/keyword.c | 4 ++--
bin/ps/ps.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c
index f05e5245f695..0562fd2e4f9d 100644
--- a/bin/ps/keyword.c
+++ b/bin/ps/keyword.c
@@ -35,10 +35,10 @@
*/
#include <sys/param.h>
-#include <sys/time.h>
-#include <sys/resource.h>
#include <sys/proc.h>
+#include <sys/resource.h>
#include <sys/sysctl.h>
+#include <sys/time.h>
#include <sys/user.h>
#include <assert.h>
diff --git a/bin/ps/ps.c b/bin/ps/ps.c
index bb5102729957..94218f8cb2aa 100644
--- a/bin/ps/ps.c
+++ b/bin/ps/ps.c
@@ -42,13 +42,13 @@
*/
#include <sys/param.h>
+#include <sys/ioctl.h>
#include <sys/jail.h>
+#include <sys/mount.h>
#include <sys/proc.h>
-#include <sys/user.h>
#include <sys/stat.h>
-#include <sys/ioctl.h>
#include <sys/sysctl.h>
-#include <sys/mount.h>
+#include <sys/user.h>
#include <ctype.h>
#include <errno.h>