diff options
-rw-r--r-- | net-p2p/gnunet/files/patch-src_applications_afs_gtkui_statistics.c | 37 | ||||
-rw-r--r-- | net-p2p/gnunet/files/patch-types.h | 15 | ||||
-rw-r--r-- | net/gnunet/files/patch-src_applications_afs_gtkui_statistics.c | 37 | ||||
-rw-r--r-- | net/gnunet/files/patch-types.h | 15 |
4 files changed, 0 insertions, 104 deletions
diff --git a/net-p2p/gnunet/files/patch-src_applications_afs_gtkui_statistics.c b/net-p2p/gnunet/files/patch-src_applications_afs_gtkui_statistics.c deleted file mode 100644 index 17cef5d0143d..000000000000 --- a/net-p2p/gnunet/files/patch-src_applications_afs_gtkui_statistics.c +++ /dev/null @@ -1,37 +0,0 @@ ---- src/applications/afs/gtkui/statistics.c.orig Fri May 21 09:34:00 2004 -+++ src/applications/afs/gtkui/statistics.c Fri May 21 09:34:23 2004 -@@ -178,14 +178,14 @@ - gfloat ** data) { - long long val; - char * cmh; -- long long cval; -+ long cval; - - cmh = getConfigurationOptionValue(sock, - "gnunetd", - "connection-max-hosts"); - if (cmh == NULL) - return SYSERR; -- cval = atoll(cmh); -+ cval = atol(cmh); - FREE(cmh); - if (OK != getStatValue(&val, - NULL, -@@ -291,7 +291,7 @@ - "MAXNETDOWNBPSTOTAL"); - if (available == NULL) - return SYSERR; -- band = atoll(available) * dtime / cronSECONDS; -+ band = atol(available) * dtime / cronSECONDS; - FREE(available); - total -= ltotal; - noise -= lnoise; -@@ -395,7 +395,7 @@ - "MAXNETUPBPSTOTAL"); - if (available == NULL) - return SYSERR; -- band = atoll(available) * dtime / cronSECONDS; -+ band = atol(available) * dtime / cronSECONDS; - FREE(available); - total -= ltotal; - noise -= lnoise; diff --git a/net-p2p/gnunet/files/patch-types.h b/net-p2p/gnunet/files/patch-types.h deleted file mode 100644 index a0cdb542e6b3..000000000000 --- a/net-p2p/gnunet/files/patch-types.h +++ /dev/null @@ -1,15 +0,0 @@ ---- src/util/gcry/types.h.orig Mon Oct 6 20:17:50 2003 -+++ src/util/gcry/types.h Mon Oct 6 20:18:10 2003 -@@ -48,12 +48,6 @@ - #define HAVE_BYTE_TYPEDEF - #endif - --#ifndef HAVE_USHORT_TYPEDEF -- #undef ushort /* maybe there is a macro with this name */ -- typedef unsigned short ushort; -- #define HAVE_USHORT_TYPEDEF --#endif -- - #ifndef HAVE_ULONG_TYPEDEF - #undef ulong /* maybe there is a macro with this name */ - typedef unsigned long ulong; diff --git a/net/gnunet/files/patch-src_applications_afs_gtkui_statistics.c b/net/gnunet/files/patch-src_applications_afs_gtkui_statistics.c deleted file mode 100644 index 17cef5d0143d..000000000000 --- a/net/gnunet/files/patch-src_applications_afs_gtkui_statistics.c +++ /dev/null @@ -1,37 +0,0 @@ ---- src/applications/afs/gtkui/statistics.c.orig Fri May 21 09:34:00 2004 -+++ src/applications/afs/gtkui/statistics.c Fri May 21 09:34:23 2004 -@@ -178,14 +178,14 @@ - gfloat ** data) { - long long val; - char * cmh; -- long long cval; -+ long cval; - - cmh = getConfigurationOptionValue(sock, - "gnunetd", - "connection-max-hosts"); - if (cmh == NULL) - return SYSERR; -- cval = atoll(cmh); -+ cval = atol(cmh); - FREE(cmh); - if (OK != getStatValue(&val, - NULL, -@@ -291,7 +291,7 @@ - "MAXNETDOWNBPSTOTAL"); - if (available == NULL) - return SYSERR; -- band = atoll(available) * dtime / cronSECONDS; -+ band = atol(available) * dtime / cronSECONDS; - FREE(available); - total -= ltotal; - noise -= lnoise; -@@ -395,7 +395,7 @@ - "MAXNETUPBPSTOTAL"); - if (available == NULL) - return SYSERR; -- band = atoll(available) * dtime / cronSECONDS; -+ band = atol(available) * dtime / cronSECONDS; - FREE(available); - total -= ltotal; - noise -= lnoise; diff --git a/net/gnunet/files/patch-types.h b/net/gnunet/files/patch-types.h deleted file mode 100644 index a0cdb542e6b3..000000000000 --- a/net/gnunet/files/patch-types.h +++ /dev/null @@ -1,15 +0,0 @@ ---- src/util/gcry/types.h.orig Mon Oct 6 20:17:50 2003 -+++ src/util/gcry/types.h Mon Oct 6 20:18:10 2003 -@@ -48,12 +48,6 @@ - #define HAVE_BYTE_TYPEDEF - #endif - --#ifndef HAVE_USHORT_TYPEDEF -- #undef ushort /* maybe there is a macro with this name */ -- typedef unsigned short ushort; -- #define HAVE_USHORT_TYPEDEF --#endif -- - #ifndef HAVE_ULONG_TYPEDEF - #undef ulong /* maybe there is a macro with this name */ - typedef unsigned long ulong; |