diff options
author | Steven Barth <steven@midlink.org> | 2009-02-22 23:37:35 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2009-02-22 23:37:35 +0000 |
commit | 06450d3fe3b5248276e3113a358954ee85af5779 (patch) | |
tree | b19c00acb700e47b16cfbbd6f77aa8052804c20a /libs/nixio | |
parent | d730c1263328c5990ce46cdf6394ce6e36cc3609 (diff) |
Remove some crap
Add compatiblity for older uclibc versions
Diffstat (limited to 'libs/nixio')
-rw-r--r-- | libs/nixio/axTLS/_stage/libaxtls.a | bin | 110900 -> 0 bytes | |||
l--------- | libs/nixio/axTLS/_stage/libaxtls.so.1 | 1 | ||||
-rwxr-xr-x | libs/nixio/axTLS/_stage/libaxtls.so.1.2 | bin | 82329 -> 0 bytes | |||
-rw-r--r-- | libs/nixio/axTLS/crypto/.depend | 19 | ||||
-rw-r--r-- | libs/nixio/axTLS/ssl/.depend | 31 | ||||
-rw-r--r-- | libs/nixio/src/splice.c | 12 |
6 files changed, 12 insertions, 51 deletions
diff --git a/libs/nixio/axTLS/_stage/libaxtls.a b/libs/nixio/axTLS/_stage/libaxtls.a Binary files differdeleted file mode 100644 index e1ea96e45..000000000 --- a/libs/nixio/axTLS/_stage/libaxtls.a +++ /dev/null diff --git a/libs/nixio/axTLS/_stage/libaxtls.so.1 b/libs/nixio/axTLS/_stage/libaxtls.so.1 deleted file mode 120000 index 587a460b9..000000000 --- a/libs/nixio/axTLS/_stage/libaxtls.so.1 +++ /dev/null @@ -1 +0,0 @@ -libaxtls.so.1.2
\ No newline at end of file diff --git a/libs/nixio/axTLS/_stage/libaxtls.so.1.2 b/libs/nixio/axTLS/_stage/libaxtls.so.1.2 Binary files differdeleted file mode 100755 index 440730bd4..000000000 --- a/libs/nixio/axTLS/_stage/libaxtls.so.1.2 +++ /dev/null diff --git a/libs/nixio/axTLS/crypto/.depend b/libs/nixio/axTLS/crypto/.depend deleted file mode 100644 index 4fb04339c..000000000 --- a/libs/nixio/axTLS/crypto/.depend +++ /dev/null @@ -1,19 +0,0 @@ -aes.o: aes.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \ - bigint.h -bigint.o: bigint.c bigint.h crypto.h ../config/config.h ../ssl/os_port.h \ - bigint_impl.h -crypto_misc.o: crypto_misc.c ../ssl/crypto_misc.h ../crypto/crypto.h \ - ../config/config.h ../ssl/os_port.h ../crypto/bigint_impl.h \ - ../crypto/bigint.h ../crypto/crypto.h ../crypto/bigint.h -hmac.o: hmac.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \ - bigint.h -md2.o: md2.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \ - bigint.h -md5.o: md5.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \ - bigint.h -rc4.o: rc4.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \ - bigint.h -rsa.o: rsa.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \ - bigint.h -sha1.o: sha1.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \ - bigint.h diff --git a/libs/nixio/axTLS/ssl/.depend b/libs/nixio/axTLS/ssl/.depend deleted file mode 100644 index 85f138fea..000000000 --- a/libs/nixio/axTLS/ssl/.depend +++ /dev/null @@ -1,31 +0,0 @@ -asn1.o: asn1.c os_port.h ../crypto/crypto.h ../config/config.h \ - ../ssl/os_port.h ../crypto/bigint_impl.h ../crypto/bigint.h \ - ../crypto/crypto.h crypto_misc.h ../crypto/bigint.h -gen_cert.o: gen_cert.c ../config/config.h ssl.h tls1.h version.h \ - ../crypto/crypto.h ../ssl/os_port.h ../crypto/bigint_impl.h \ - ../crypto/bigint.h ../crypto/crypto.h os_port.h crypto_misc.h \ - ../crypto/bigint.h -loader.o: loader.c ssl.h tls1.h version.h ../crypto/crypto.h \ - ../config/config.h ../ssl/os_port.h ../crypto/bigint_impl.h \ - ../crypto/bigint.h ../crypto/crypto.h os_port.h crypto_misc.h \ - ../crypto/bigint.h private_key.h -openssl.o: openssl.c ../config/config.h -os_port.o: os_port.c os_port.h -p12.o: p12.c ssl.h tls1.h version.h ../crypto/crypto.h ../config/config.h \ - ../ssl/os_port.h ../crypto/bigint_impl.h ../crypto/bigint.h \ - ../crypto/crypto.h os_port.h crypto_misc.h ../crypto/bigint.h -tls1.o: tls1.c ssl.h tls1.h version.h ../crypto/crypto.h \ - ../config/config.h ../ssl/os_port.h ../crypto/bigint_impl.h \ - ../crypto/bigint.h ../crypto/crypto.h os_port.h crypto_misc.h \ - ../crypto/bigint.h -tls1_clnt.o: tls1_clnt.c ssl.h tls1.h version.h ../crypto/crypto.h \ - ../config/config.h ../ssl/os_port.h ../crypto/bigint_impl.h \ - ../crypto/bigint.h ../crypto/crypto.h os_port.h crypto_misc.h \ - ../crypto/bigint.h -tls1_svr.o: tls1_svr.c ssl.h tls1.h version.h ../crypto/crypto.h \ - ../config/config.h ../ssl/os_port.h ../crypto/bigint_impl.h \ - ../crypto/bigint.h ../crypto/crypto.h os_port.h crypto_misc.h \ - ../crypto/bigint.h -x509.o: x509.c os_port.h crypto_misc.h ../crypto/crypto.h \ - ../config/config.h ../ssl/os_port.h ../crypto/bigint_impl.h \ - ../crypto/bigint.h ../crypto/crypto.h ../crypto/bigint.h diff --git a/libs/nixio/src/splice.c b/libs/nixio/src/splice.c index 2b2837060..538b99e69 100644 --- a/libs/nixio/src/splice.c +++ b/libs/nixio/src/splice.c @@ -25,10 +25,22 @@ /* guess what sucks... */ #ifdef __UCLIBC__ #include <unistd.h> +#include <errno.h> #include <sys/syscall.h> ssize_t splice(int __fdin, __off64_t *__offin, int __fdout, __off64_t *__offout, size_t __len, unsigned int __flags) { +#ifdef __NR_splice return syscall(__NR_splice, __fdin, __offin, __fdout, __offout, __len, __flags); +#else + (void)__fdin; + (void)__offin; + (void)__fdout; + (void)__offout; + (void)__len; + (void)__flags; + errno = ENOSYS; + return -1; +#endif } #endif /* __UCLIBC__ */ |