summaryrefslogtreecommitdiff
path: root/lib/gnutls_num.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-08-09 17:30:37 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-08-09 17:30:37 +0000
commitfc3862bdc14cbb39200ab622cef44e90e49616d3 (patch)
tree1ae2a3ccdd19ba8c79128bb2f9d35069fa9d62b9 /lib/gnutls_num.c
parent04a2b6cdd6a3e4f1d51720e5bb1ea40728ba6ed2 (diff)
downloadgnutls-fc3862bdc14cbb39200ab622cef44e90e49616d3.tar.gz
Applied patch from Arne Thomassen <arne@arne-thomassen.de>, which
corrects several things in the library.
Diffstat (limited to 'lib/gnutls_num.c')
-rw-r--r--lib/gnutls_num.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/gnutls_num.c b/lib/gnutls_num.c
index 8e078bb098..7729722c00 100644
--- a/lib/gnutls_num.c
+++ b/lib/gnutls_num.c
@@ -97,7 +97,6 @@ uint24 tmp;
data[0] = tmp.pint[0];
data[1] = tmp.pint[1];
data[2] = tmp.pint[2];
- return;
}
uint32 _gnutls_read_uint32( const opaque* data) {
@@ -116,7 +115,6 @@ void _gnutls_write_uint32( uint32 num, opaque* data) {
num = byteswap32( num);
#endif
memcpy( data, &num, sizeof(uint32));
- return;
}
uint16 _gnutls_read_uint16( const opaque* data) {
@@ -134,7 +132,6 @@ void _gnutls_write_uint16( uint16 num, opaque* data) {
num = byteswap16( num);
#endif
memcpy( data, &num, sizeof(uint16));
- return;
}
uint32 _gnutls_conv_uint32( uint32 data) {