OSSP CVS Repository

ossp - Difference in ossp-pkg/sio/al.c versions 1.34 and 1.35
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/sio/al.c 1.34 -> 1.35

--- al.c 2002/11/05 14:51:37     1.34
+++ al.c 2002/11/14 09:22:42     1.35
@@ -219,7 +219,7 @@
  * only the control structure will be freed later
  */
 static
-al_rc_t make_buffer(al_t *al, char *p, size_t n, void (*freemem)(char *, size_t, void *), void *u, al_buffer_t **bufp)
+al_rc_t make_buffer(al_t *al, char *p, size_t n, void (*freemem_cb)(char *, size_t, void *), void *u, al_buffer_t **bufp)
 {
     al_buffer_t *buf;
 
@@ -228,7 +228,7 @@
 
     buf->mem      = p;
 
-    buf->freemem  = freemem;
+    buf->freemem  = freemem_cb;
     buf->userdata = u;
     buf->size     = n;
     buf->usecount = 0;
@@ -580,7 +580,7 @@
  *
  */
 al_rc_t al_attach_buffer(al_t *al, char *p, size_t n, al_label_t label,
-                         void (*freemem)(char *, size_t, void *), void *u)
+                         void (*freemem_cb)(char *, size_t, void *), void *u)
 {
     al_rc_t rc;
     al_buffer_t *buf;
@@ -590,7 +590,7 @@
     if (al == NULL || p == NULL || n <= 0)
         return AL_RC(AL_ERR_ARG);
 
-    rc = make_buffer(al, p, n, freemem, u, &buf);
+    rc = make_buffer(al, p, n, freemem_cb, u, &buf);
     if (rc != AL_OK)
         return AL_RC(rc);
     rc = new_chunk(al,buf,label,&cur);

CVSTrac 2.0.1