Make fdFileno an external function.
authorRalf Corsépius <corsepiu@fedoraproject.org>
Fri, 5 Oct 2007 05:10:36 +0000 (07:10 +0200)
committerRalf Corsépius <corsepiu@fedoraproject.org>
Fri, 5 Oct 2007 05:10:36 +0000 (07:10 +0200)
rpmio/rpmio.h

index 46e1292..e6b8aa1 100644 (file)
@@ -348,10 +348,7 @@ FILE *fdFdopen( void * cookie, const char * mode);
 
 /**
  */
-#ifndef H_RPMIO_INTERNAL       /* XXX avoid gcc warning */
-int fdFileno(void * cookie);
-#define        fdFileno(_fd)           fdio->_fileno(_fd)
-#endif
+extern int fdFileno(void * cookie);
 
 /**
  */