|
![](https://seccdn.libravatar.org/avatar/53857e0805011d7cae7e9291c3c7672dd1958db8b0541c307a68d49a98f2e30a?s=16&d=retro) |
900124d |
diff --git a/src/file.c b/src/file.c
|
|
![](https://seccdn.libravatar.org/avatar/53857e0805011d7cae7e9291c3c7672dd1958db8b0541c307a68d49a98f2e30a?s=16&d=retro) |
900124d |
index fc9dd13..0b9198a 100644
|
|
![](https://seccdn.libravatar.org/avatar/53857e0805011d7cae7e9291c3c7672dd1958db8b0541c307a68d49a98f2e30a?s=16&d=retro) |
900124d |
--- a/src/file.c
|
|
![](https://seccdn.libravatar.org/avatar/53857e0805011d7cae7e9291c3c7672dd1958db8b0541c307a68d49a98f2e30a?s=16&d=retro) |
900124d |
+++ b/src/file.c
|
|
![](https://seccdn.libravatar.org/avatar/53857e0805011d7cae7e9291c3c7672dd1958db8b0541c307a68d49a98f2e30a?s=16&d=retro) |
900124d |
@@ -69,7 +69,7 @@ public void FileFreeLine( file_t *f )
|
|
![](https://seccdn.libravatar.org/avatar/53857e0805011d7cae7e9291c3c7672dd1958db8b0541c307a68d49a98f2e30a?s=16&d=retro) |
900124d |
}
|
|
![](https://seccdn.libravatar.org/avatar/53857e0805011d7cae7e9291c3c7672dd1958db8b0541c307a68d49a98f2e30a?s=16&d=retro) |
900124d |
|
|
![](https://seccdn.libravatar.org/avatar/53857e0805011d7cae7e9291c3c7672dd1958db8b0541c307a68d49a98f2e30a?s=16&d=retro) |
900124d |
#ifdef USE_INTERNAL_IOBUF
|
|
![](https://seccdn.libravatar.org/avatar/53857e0805011d7cae7e9291c3c7672dd1958db8b0541c307a68d49a98f2e30a?s=16&d=retro) |
900124d |
-public inline int IobufGetc( iobuf_t *iobuf )
|
|
![](https://seccdn.libravatar.org/avatar/53857e0805011d7cae7e9291c3c7672dd1958db8b0541c307a68d49a98f2e30a?s=16&d=retro) |
900124d |
+extern public inline int IobufGetc( iobuf_t *iobuf )
|
|
![](https://seccdn.libravatar.org/avatar/53857e0805011d7cae7e9291c3c7672dd1958db8b0541c307a68d49a98f2e30a?s=16&d=retro) |
900124d |
{
|
|
![](https://seccdn.libravatar.org/avatar/53857e0805011d7cae7e9291c3c7672dd1958db8b0541c307a68d49a98f2e30a?s=16&d=retro) |
900124d |
if( iobuf->cur >= iobuf->last ){
|
|
![](https://seccdn.libravatar.org/avatar/53857e0805011d7cae7e9291c3c7672dd1958db8b0541c307a68d49a98f2e30a?s=16&d=retro) |
900124d |
/* no stream buffer, reset and fill now */
|
|
![](https://seccdn.libravatar.org/avatar/53857e0805011d7cae7e9291c3c7672dd1958db8b0541c307a68d49a98f2e30a?s=16&d=retro) |
900124d |
@@ -82,7 +82,7 @@ public inline int IobufGetc( iobuf_t *iobuf )
|
|
![](https://seccdn.libravatar.org/avatar/53857e0805011d7cae7e9291c3c7672dd1958db8b0541c307a68d49a98f2e30a?s=16&d=retro) |
900124d |
return iobuf->buf[ iobuf->cur++ ];
|
|
![](https://seccdn.libravatar.org/avatar/53857e0805011d7cae7e9291c3c7672dd1958db8b0541c307a68d49a98f2e30a?s=16&d=retro) |
900124d |
}
|
|
![](https://seccdn.libravatar.org/avatar/53857e0805011d7cae7e9291c3c7672dd1958db8b0541c307a68d49a98f2e30a?s=16&d=retro) |
900124d |
|
|
![](https://seccdn.libravatar.org/avatar/53857e0805011d7cae7e9291c3c7672dd1958db8b0541c307a68d49a98f2e30a?s=16&d=retro) |
900124d |
-public inline int IobufUngetc( int ch, iobuf_t *iobuf )
|
|
![](https://seccdn.libravatar.org/avatar/53857e0805011d7cae7e9291c3c7672dd1958db8b0541c307a68d49a98f2e30a?s=16&d=retro) |
900124d |
+extern public inline int IobufUngetc( int ch, iobuf_t *iobuf )
|
|
![](https://seccdn.libravatar.org/avatar/53857e0805011d7cae7e9291c3c7672dd1958db8b0541c307a68d49a98f2e30a?s=16&d=retro) |
900124d |
{
|
|
![](https://seccdn.libravatar.org/avatar/53857e0805011d7cae7e9291c3c7672dd1958db8b0541c307a68d49a98f2e30a?s=16&d=retro) |
900124d |
if( iobuf->cur == 0 ){
|
|
![](https://seccdn.libravatar.org/avatar/53857e0805011d7cae7e9291c3c7672dd1958db8b0541c307a68d49a98f2e30a?s=16&d=retro) |
900124d |
/* XXX: it should be tied to fp sanely */
|