From 155cfb11e361c9706a7ad33e9b8be02f9efbe78a Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 21 Jan 2023 14:55:49 -0600 Subject: maint: stop including getprogname.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s obsolete in bleeding-edge Gnulib. * src/grep.c, tests/get-mb-cur-max.c: Don’t include getprogname.h. Instead, rely on stdlib.h to declare getprogname. --- src/grep.c | 1 - tests/get-mb-cur-max.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/grep.c b/src/grep.c index 9f914fc4..ebb09a3b 100644 --- a/src/grep.c +++ b/src/grep.c @@ -41,7 +41,6 @@ #include "fcntl-safer.h" #include "fts_.h" #include "getopt.h" -#include "getprogname.h" #include "grep.h" #include "hash.h" #include "intprops.h" diff --git a/tests/get-mb-cur-max.c b/tests/get-mb-cur-max.c index bf3d3096..1dde7a72 100644 --- a/tests/get-mb-cur-max.c +++ b/tests/get-mb-cur-max.c @@ -21,8 +21,6 @@ #include #include -#include "getprogname.h" - int main (int argc, char **argv) { -- cgit v1.2.1