2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-09-05 00:35:14 +00:00

Prefix all libc replacements with sudo_ and #define the real name

to the sudo_ version.  That way we don't pollute the libc namespace.
This commit is contained in:
Todd C. Miller
2014-06-26 15:51:08 -06:00
parent 4d37a4a162
commit 87c2fe5a31
29 changed files with 173 additions and 127 deletions

View File

@@ -43,7 +43,7 @@
* (and CLOCK_MONOTONIC on Mach).
*/
int
clock_gettime(clockid_t clock_id, struct timespec *ts)
sudo_clock_gettime(clockid_t clock_id, struct timespec *ts)
{
switch (clock_id) {