git: 4ba8eaf2336c - stable/15 - ps(1): Sort headers
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 19 Feb 2026 12:29:25 UTC
The branch stable/15 has been updated by olce:
URL: https://cgit.FreeBSD.org/src/commit/?id=4ba8eaf2336cdad542d7081dcf87e4ce8af9d059
commit 4ba8eaf2336cdad542d7081dcf87e4ce8af9d059
Author: Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2026-01-08 15:20:38 +0000
Commit: Olivier Certner <olce@FreeBSD.org>
CommitDate: 2026-02-19 12:28:49 +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
(cherry picked from commit 730b3e20069b7115d16f02525103c6c05fa04759)
---
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>