diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2021-02-28 22:12:42 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2021-02-28 22:13:34 -0800 |
commit | 2f7d215539637d8190ed57868980988086883433 (patch) | |
tree | e6436d20d02048104c1dc3f4f9a18aca8deb7f8f /po/.cvsignore | |
parent | c30dcfedd3c616f706b4f5db166793de4ac1f64d (diff) | |
download | paxutils-2f7d215539637d8190ed57868980988086883433.tar.gz |
Move sys_reset_uid_gid to library
This fixes a problem where ‘gcc -fanalyzer -flto’ (GCC 10)
complained that sys_reset_uid_gid was defined but not used in some
modules. This function belonged in a .c file anyway.
* lib/rtapelib.c (sys_reset_uid_gid):
* paxlib/rtape.c (sys_reset_uid_gid):
Move here from system.h. The code is now duplicated, but so is
most of the rest of this file anyway.
* lib/system.h (sys_reset_uid_gid): Remove.
Diffstat (limited to 'po/.cvsignore')
0 files changed, 0 insertions, 0 deletions