From d4bea657c402a67a3ab2104c9ed1ae93314f3441 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ralf=20Cors=C3=A9pius?= Date: Fri, 5 Oct 2007 07:10:36 +0200 Subject: [PATCH] Make fdFileno an external function. --- rpmio/rpmio.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/rpmio/rpmio.h b/rpmio/rpmio.h index 46e1292..e6b8aa1 100644 --- a/rpmio/rpmio.h +++ b/rpmio/rpmio.h @@ -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); /** */ -- 2.7.4