aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-12-17 13:58:32 +0000
committerUlrich Drepper <drepper@redhat.com>1998-12-17 13:58:32 +0000
commitc0b50509efc80bc9a2c9ebc787d2ab868816231d (patch)
treefffa46439aaa786ccd7852ea8bc51cf03e70e35c /sysdeps
parent0937645101948542e6d0936546e9ca048847c24b (diff)
downloadglibc-c0b50509efc80bc9a2c9ebc787d2ab868816231d.zip
glibc-c0b50509efc80bc9a2c9ebc787d2ab868816231d.tar.gz
glibc-c0b50509efc80bc9a2c9ebc787d2ab868816231d.tar.bz2
Update.
* sunrpc/clnt_unix.c (clntunix_destroy): Use __close not close. * libio/oldtmpfile.c: Likewise. * libio/oldiofdopen.c: Use __fcntl instead fcntl. * sysdeps/posix/profil.c: Use __sigaction instead of sigaction. * login/login.c: Determine pts/3 as terminal name if path is
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/posix/profil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/posix/profil.c b/sysdeps/posix/profil.c
index 6c8adbc..f4f0acd 100644
--- a/sysdeps/posix/profil.c
+++ b/sysdeps/posix/profil.c
@@ -77,7 +77,7 @@ __profil (u_short *sample_buffer, size_t size, size_t offset, u_int scale)
if (__setitimer (ITIMER_PROF, &otimer, NULL) < 0)
return -1;
samples = NULL;
- return sigaction (SIGPROF, &oact, NULL);
+ return __sigaction (SIGPROF, &oact, NULL);
}
if (samples)
@@ -85,7 +85,7 @@ __profil (u_short *sample_buffer, size_t size, size_t offset, u_int scale)
/* Was already turned on. Restore old timer and signal handler
first. */
if (__setitimer (ITIMER_PROF, &otimer, NULL) < 0
- || sigaction (SIGPROF, &oact, NULL) < 0)
+ || __sigaction (SIGPROF, &oact, NULL) < 0)
return -1;
}
@@ -97,7 +97,7 @@ __profil (u_short *sample_buffer, size_t size, size_t offset, u_int scale)
act.sa_handler = (sighandler_t) &profil_counter;
act.sa_flags = SA_RESTART;
sigfillset (&act.sa_mask);
- if (sigaction (SIGPROF, &act, &oact) < 0)
+ if (__sigaction (SIGPROF, &act, &oact) < 0)
return -1;
timer.it_value.tv_sec = 0;