summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2021-02-28 22:12:42 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2021-02-28 22:13:34 -0800
commit2f7d215539637d8190ed57868980988086883433 (patch)
treee6436d20d02048104c1dc3f4f9a18aca8deb7f8f /build-aux
parentc30dcfedd3c616f706b4f5db166793de4ac1f64d (diff)
downloadpaxutils-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 'build-aux')
0 files changed, 0 insertions, 0 deletions