diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-20 01:15:21 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-20 01:15:21 +0000 |
commit | 2436785702b47996e9f0e281df0d6027660ec914 (patch) | |
tree | 8b84e6596145521dcbee951993c4eb6a2e86ec00 /src/libstddjb/iobufferk_flush.c | |
parent | 55e4b1ebca5d6e7eb0382b3be2154d376f36909e (diff) | |
download | skalibs-2436785702b47996e9f0e281df0d6027660ec914.tar.xz |
Cosmetic fixes in iobuffer (was looking for a bug, but it wasn't there)
Diffstat (limited to 'src/libstddjb/iobufferk_flush.c')
-rw-r--r-- | src/libstddjb/iobufferk_flush.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstddjb/iobufferk_flush.c b/src/libstddjb/iobufferk_flush.c index fb51e32..674ffec 100644 --- a/src/libstddjb/iobufferk_flush.c +++ b/src/libstddjb/iobufferk_flush.c @@ -9,7 +9,7 @@ #include <errno.h> #include <skalibs/iobuffer.h> -static int iobufferk_flush_0 (iobufferk_ref k) +static int iobufferk_flush_0 (iobufferk *k) { while (k->n) { @@ -21,13 +21,13 @@ static int iobufferk_flush_0 (iobufferk_ref k) return 1 ; } -static int fakeflush (iobufferk_ref k) +static int fakeflush (iobufferk *k) { k->n = 0 ; return 1 ; } -static int iobufferk_flush_3 (iobufferk_ref k) +static int iobufferk_flush_3 (iobufferk *k) { while (k->n) { |