summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-09-21 16:51:15 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-09-21 16:51:15 +0200
commit273ddaf0a95f01f68dd2d0df61ec1f466884d3d3 (patch)
treefcf8a79b46f8b2911d4c42fdf5fd9e96ef05b1e7 /rpmio
parent868ff87bc0ac8adbff6629e91111e79c49553c91 (diff)
downloadrpm-273ddaf0a95f01f68dd2d0df61ec1f466884d3d3.tar.gz
rpm-273ddaf0a95f01f68dd2d0df61ec1f466884d3d3.tar.bz2
rpm-273ddaf0a95f01f68dd2d0df61ec1f466884d3d3.zip
Remove fdClose, fdOpen, fdRead, fdWrite defines.
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/rpmio.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/rpmio/rpmio.h b/rpmio/rpmio.h
index 16ee1a66c..25d61e168 100644
--- a/rpmio/rpmio.h
+++ b/rpmio/rpmio.h
@@ -355,23 +355,19 @@ int fdFileno(void * cookie);
/**
*/
-FD_t fdOpen(const char *path, int flags, mode_t mode);
-#define fdOpen(_path, _flags, _mode) fdio->_open((_path), (_flags), (_mode))
+extern FD_t fdOpen(const char *path, int flags, mode_t mode);
/**
*/
-ssize_t fdRead(void * cookie, char * buf, size_t count);
-#define fdRead(_fd, _buf, _count) fdio->read((_fd), (_buf), (_count))
+extern ssize_t fdRead(void * cookie, char * buf, size_t count);
/**
*/
-ssize_t fdWrite(void * cookie, const char * buf, size_t count);
-#define fdWrite(_fd, _buf, _count) fdio->write((_fd), (_buf), (_count))
+extern ssize_t fdWrite(void * cookie, const char * buf, size_t count);
/**
*/
-int fdClose( void * cookie);
-#define fdClose(_fd) fdio->close(_fd)
+extern int fdClose( void * cookie);
/**
*/