diff --git a/ChangeLog b/ChangeLog index 3a2b2c96aa..b99af4e9f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2016-08-18 Pino Toscano + + main.mk: remove sc_program_name, since there is no more need to + use set_program_name in tools (getprogname is enough for most + of the cases). + * cfg.mk (local-checks-to-skip): Remove sc_program_name. + * top/maint.mk (sc_program_name): Remove. + 2016-08-18 Pino Toscano Port tests away from progname, since modules that need the diff --git a/cfg.mk b/cfg.mk index 5b9456bdef..75d932964a 100644 --- a/cfg.mk +++ b/cfg.mk @@ -27,7 +27,6 @@ local-checks-to-skip = \ sc_makefile_at_at_check \ sc_makefile_path_separator_check \ sc_obsolete_symbols \ - sc_program_name \ sc_prohibit_HAVE_MBRTOWC \ sc_prohibit_S_IS_definition \ sc_prohibit_always_true_header_tests \ diff --git a/top/maint.mk b/top/maint.mk index 868e10f004..c32f8b6d0e 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -716,15 +716,6 @@ sc_changelog: halt='found unexpected prefix in a ChangeLog' \ $(_sc_search_regexp) -# Ensure that each .c file containing a "main" function also -# calls set_program_name. -sc_program_name: - @require='set_program_name *\(.*\);' \ - in_vc_files='\.c$$' \ - containing='\