pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/tcpick Fix C99 inline usage.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/69e286756a77
branches:  trunk
changeset: 610638:69e286756a77
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Nov 01 19:35:20 2012 +0000

description:
Fix C99 inline usage.

diffstat:

 net/tcpick/distinfo                      |   5 ++++-
 net/tcpick/patches/patch-src_fragments.c |  22 ++++++++++++++++++++++
 net/tcpick/patches/patch-src_verify.c    |  22 ++++++++++++++++++++++
 net/tcpick/patches/patch-src_write.c     |  22 ++++++++++++++++++++++
 4 files changed, 70 insertions(+), 1 deletions(-)

diffs (91 lines):

diff -r ad3bd263d867 -r 69e286756a77 net/tcpick/distinfo
--- a/net/tcpick/distinfo       Thu Nov 01 19:34:15 2012 +0000
+++ b/net/tcpick/distinfo       Thu Nov 01 19:35:20 2012 +0000
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.3 2006/08/09 13:58:31 ben Exp $
+$NetBSD: distinfo,v 1.4 2012/11/01 19:35:20 joerg Exp $
 
 SHA1 (tcpick-0.2.1.tar.gz) = 02892932f462b6ff3f62e5930a0644c44cdef8c9
 RMD160 (tcpick-0.2.1.tar.gz) = 8d4dd48c639e52ef681cd64c366a99c296171f06
 Size (tcpick-0.2.1.tar.gz) = 175871 bytes
+SHA1 (patch-src_fragments.c) = 0277016371b24f51d05c79bbf128b06c0c1d4789
+SHA1 (patch-src_verify.c) = 46b5e914a9112f6e835ce664b0376ddda14835f6
+SHA1 (patch-src_write.c) = 72f79723679c55639e90f5cf4110ae92521d5ec7
diff -r ad3bd263d867 -r 69e286756a77 net/tcpick/patches/patch-src_fragments.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/tcpick/patches/patch-src_fragments.c  Thu Nov 01 19:35:20 2012 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-src_fragments.c,v 1.1 2012/11/01 19:35:20 joerg Exp $
+
+--- src/fragments.c.orig       2012-10-30 21:54:50.000000000 +0000
++++ src/fragments.c
+@@ -83,7 +83,7 @@
+                         * list = ( * list )->next;      \
+                         FREE_FR (tmp)                   \
+                         }
+-__inline__ int 
++int 
+ addfr( struct FRAGMENT ** first,
+        int wlen,
+        u_int32_t data_off,
+@@ -156,7 +156,7 @@ addfr( struct FRAGMENT ** first,
+       }
+ }
+ 
+-__inline__ int
++int
+ flush_ack ( struct HOST_DESC * desc,
+           struct CONN * conn_ptr,
+           int ack_num )
diff -r ad3bd263d867 -r 69e286756a77 net/tcpick/patches/patch-src_verify.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/tcpick/patches/patch-src_verify.c     Thu Nov 01 19:35:20 2012 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-src_verify.c,v 1.1 2012/11/01 19:35:20 joerg Exp $
+
+--- src/verify.c.orig  2012-10-30 21:54:01.000000000 +0000
++++ src/verify.c
+@@ -92,7 +92,7 @@
+  tcppacket->rst         == 1
+ 
+ 
+-__inline__ int
++int
+ established_packet ( struct CONN * conn_ptr, struct HOST_DESC * Desc)
+ /* called by verify()
+    packets of established connections come here */
+@@ -121,7 +121,7 @@ established_packet ( struct CONN * conn_
+ 
+ }
+ 
+-__inline__ int  
++int  
+ verify()
+ /* called by got_packet().
+    this is the engine that matches the packets with their connection */
diff -r ad3bd263d867 -r 69e286756a77 net/tcpick/patches/patch-src_write.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/tcpick/patches/patch-src_write.c      Thu Nov 01 19:35:20 2012 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-src_write.c,v 1.1 2012/11/01 19:35:20 joerg Exp $
+
+--- src/write.c.orig   2012-10-30 21:54:28.000000000 +0000
++++ src/write.c
+@@ -28,7 +28,7 @@
+ #include "tcpick.h"
+ #include "extern.h"
+ 
+-__inline__ char * 
++char * 
+ avail_filename(struct CONN * conn_ptr, 
+              enum PART side, char * ext)
+ /*
+@@ -181,7 +181,7 @@ open_file( struct CONN * conn_ptr, 
+       return;
+ }
+ 
+-__inline__ int
++int
+ flowflush ( struct CONN * conn_ptr, 
+           struct HOST_DESC * desc, 
+           u_char * buf,



Home | Main Index | Thread Index | Old Index