summaryrefslogtreecommitdiff
path: root/modules/c-stack
diff options
context:
space:
mode:
authorPino Toscano <ptoscano@redhat.com>2016-08-18 15:18:23 +0200
committerJim Meyering <meyering@fb.com>2016-09-05 09:21:54 -0700
commitf29814b96c9737abc8193d57d630697700feebeb (patch)
tree8c4505532adb10e16fa8965d7fc993a06f867388 /modules/c-stack
parent653a5be9759c9757a2509dad5057064e97899517 (diff)
downloadgnulib-f29814b96c9737abc8193d57d630697700feebeb.tar.gz
Port modules to use getprogname explicitly
... instead of requiring progname to be used (or program_name to be provided). * lib/argmatch.c: Do not include progname.h. [TEST] (program_name): Do not define. [TEST] (main): Call getprogname instead of using program_name. * lib/c-stack.c: Do not include progname.h. (program_name): Do not define. (die): Call getprogname instead of using program_name. * lib/chdir-long.c: Do not include progname.h. [TEST_CHDIR] (main): Do not set program_name. * lib/error.c [!_LIBC]: Include progname.h. [!_LIBC] (program_name): Define using getprogname. * lib/euidaccess.c: Do not include progname.h. [TEST] (main): Do not set program_name. * lib/git-merge-changelog.c: Include getprogname.h instead of progname.h. (usage): Call getprogname instead of using program_name. (main): Likewise. Stop calling set_program_name. * lib/group-member.c: Do not include progname.h. [TEST] (main): Do not set program_name. * modules/argmatch (Depends-on): Add getprogname. * modules/c-stack (Depends-on): Likewise. * modules/error (Depends-on): Likewise. * modules/git-merge-changelog (Depends-on): Likewise. Also remove progname.
Diffstat (limited to 'modules/c-stack')
-rw-r--r--modules/c-stack1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/c-stack b/modules/c-stack
index 83de3f8bad..dd303bd7ca 100644
--- a/modules/c-stack
+++ b/modules/c-stack
@@ -15,6 +15,7 @@ unistd
raise
sigaction
libsigsegv
+getprogname
configure.ac:
gl_C_STACK