Update Changelog with new Xscale platforms and vmsvga.
[qemu] / slirp / sbuf.c
index e6b5bb6..02c5fce 100644 (file)
@@ -7,6 +7,8 @@
 
 #include <slirp.h>
 
+static void sbappendsb(struct sbuf *sb, struct mbuf *m);
+
 /* Done as a macro in socket.h */
 /* int
  * sbspace(struct sockbuff *sb)
@@ -37,7 +39,7 @@ sbdrop(sb, num)
        sb->sb_rptr += num;
        if(sb->sb_rptr >= sb->sb_data + sb->sb_datalen)
                sb->sb_rptr -= sb->sb_datalen;
-  
+
 }
 
 void
@@ -133,10 +135,8 @@ sbappend(so, m)
  * Copy the data from m into sb
  * The caller is responsible to make sure there's enough room
  */
-void
-sbappendsb(sb, m)
-        struct sbuf *sb;
-        struct mbuf *m;
+static void
+sbappendsb(struct sbuf *sb, struct mbuf *m)
 {
        int len, n,  nn;
 
@@ -198,4 +198,4 @@ sbcopy(sb, off, len, to)
                   memcpy(to+off,sb->sb_data,len);
        }
 }
-       
+