Adam Sampson 0e6fe5e728 lib: rename Prog to shadow_progname, with only one definition
The build was failing with duplicate symbol errors with -fno-common.
This is the default in GCC 10 and later, and explicitly enabled in some
distributions to catch problems like this. There were two causes:

- Prog and shadow_logfd were defined in a header file that was included
  in multiple other files. Fix this by defining them once in
  shadowlog.c, and having extern declarations in the header.

- Most of the tools (except id/nologin) also define a Prog variable,
  which is not intended to alias the one in the library. Fix
  this by renaming Prog in the library to shadow_progname, which also
  matches the new accessor functions for it.
2021-12-25 22:41:58 +00:00
..
2021-09-13 15:11:40 +00:00
2021-12-23 15:18:07 -06:00
2017-03-01 22:51:09 +01:00
2021-12-23 15:18:07 -06:00
2021-08-18 18:06:02 +00:00
2021-08-18 18:06:02 +00:00
2020-04-25 12:10:39 +02:00
2020-04-25 12:23:10 +02:00
2021-09-13 15:11:40 +00:00