diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-07-22 19:12:12 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-07-22 19:16:25 +0200 |
commit | 02c17c8c1456e4c07f11ba7d080e1dd292bed162 (patch) | |
tree | 7d9ebb96e0630bd725fa2e81ed4586c4e0923bbd /sysdeps/unix/sysv/linux/getsockopt.c | |
parent | 6856975ed4ce79355752d08938f066f2ed9fcfb5 (diff) | |
download | glibc-02c17c8c1456e4c07f11ba7d080e1dd292bed162.tar.gz glibc-02c17c8c1456e4c07f11ba7d080e1dd292bed162.tar.xz glibc-02c17c8c1456e4c07f11ba7d080e1dd292bed162.zip |
socket: Add time64 alias for getsockopt
Reviewed-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/getsockopt.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/getsockopt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/getsockopt.c b/sysdeps/unix/sysv/linux/getsockopt.c index f86b06dec6..57343d432c 100644 --- a/sysdeps/unix/sysv/linux/getsockopt.c +++ b/sysdeps/unix/sysv/linux/getsockopt.c @@ -101,3 +101,6 @@ __getsockopt (int fd, int level, int optname, void *optval, socklen_t *len) return r; } weak_alias (__getsockopt, getsockopt) +#if __TIMESIZE != 64 +weak_alias (__getsockopt, __getsockopt64) +#endif |