Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2024 11:26:22 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: c3c06f94f048 - main - Remove unused includes, migrate to stdint.h for uintXX_t types.
Message-ID:  <202409211126.48LBQMlZ040232@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=c3c06f94f04847dceca2a5df80f7ef1ec00709ec

commit c3c06f94f04847dceca2a5df80f7ef1ec00709ec
Author:     Faraz Vahedi <kfv@kfv.io>
AuthorDate: 2024-08-21 13:08:03 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-09-21 11:25:15 +0000

    Remove unused includes, migrate to stdint.h for uintXX_t types.
    
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/1392
---
 lib/libfigpar/figpar.c   | 1 -
 lib/libfigpar/string_m.c | 4 +---
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/lib/libfigpar/figpar.c b/lib/libfigpar/figpar.c
index 803ebadc3f49..19fb91f08900 100644
--- a/lib/libfigpar/figpar.c
+++ b/lib/libfigpar/figpar.c
@@ -27,7 +27,6 @@
 #include <sys/param.h>
 
 #include <ctype.h>
-#include <errno.h>
 #include <fcntl.h>
 #include <fnmatch.h>
 #include <stdlib.h>
diff --git a/lib/libfigpar/string_m.c b/lib/libfigpar/string_m.c
index 2e4adcdf791c..df3def788971 100644
--- a/lib/libfigpar/string_m.c
+++ b/lib/libfigpar/string_m.c
@@ -24,11 +24,9 @@
  * SUCH DAMAGE.
  */
 
-#include <sys/types.h>
-
 #include <ctype.h>
 #include <errno.h>
-#include <stdio.h>
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409211126.48LBQMlZ040232>