diff options
author | jbj <devnull@localhost> | 1999-12-16 21:58:19 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-12-16 21:58:19 +0000 |
commit | eddf0228f58f33211313e9a8ff7bd61f7afdb38e (patch) | |
tree | a22121504114817fba830a9e4392630c345dcbb4 /lib | |
parent | 82a546f8f44fdd1cf14deb854816e0a29c63a39b (diff) | |
download | rpm-eddf0228f58f33211313e9a8ff7bd61f7afdb38e.tar.gz rpm-eddf0228f58f33211313e9a8ff7bd61f7afdb38e.tar.bz2 rpm-eddf0228f58f33211313e9a8ff7bd61f7afdb38e.zip |
diddle some names to keep my C++ brethern happy (i.e. kpackage port).
CVS patchset: 3488
CVS date: 1999/12/16 21:58:19
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rpmio.h | 18 | ||||
-rw-r--r-- | lib/url.c | 4 |
2 files changed, 11 insertions, 11 deletions
diff --git a/lib/rpmio.h b/lib/rpmio.h index fc29175d3..bc23b8c84 100644 --- a/lib/rpmio.h +++ b/lib/rpmio.h @@ -52,9 +52,9 @@ struct FDIO_s { fdio_seek_function_t * seek; fdio_close_function_t * close; - fdio_ref_function_t * ref; - fdio_deref_function_t * deref; - fdio_new_function_t * new; + fdio_ref_function_t * _fdref; + fdio_deref_function_t * _fdderef; + fdio_new_function_t * _fdnew; fdio_fileno_function_t * _fileno; fdio_open_function_t * _open; @@ -142,9 +142,9 @@ extern /*@null@*/ FILE *fdFdopen( /*@only@*/ void * cookie, const char * mode); #define fdSeek fdio->seek #endif -#define fdLink(_fd, _msg) fdio->ref(_fd, _msg, __FILE__, __LINE__) -#define fdFree(_fd, _msg) fdio->deref(_fd, _msg, __FILE__, __LINE__) -#define fdNew(_msg) fdio->new(_msg, __FILE__, __LINE__) +#define fdLink(_fd, _msg) fdio->_fdref(_fd, _msg, __FILE__, __LINE__) +#define fdFree(_fd, _msg) fdio->_fdderef(_fd, _msg, __FILE__, __LINE__) +#define fdNew(_msg) fdio->_fdnew(_msg, __FILE__, __LINE__) int fdWritable(FD_t fd, int secs); int fdReadable(FD_t fd, int secs); @@ -180,9 +180,9 @@ int ufdGetFile( /*@killref@*/ FD_t sfd, FD_t tfd); #define ufdWrite ufdio->write #define ufdSeek ufdio->seek #define ufdClose ufdio->close -#define ufdLink ufdio->ref -#define ufdFree ufdio->deref -#define ufdNew ufdio->new +#define ufdLink ufdio->_fdref +#define ufdFree ufdio->_fdderef +#define ufdNew ufdio->_fdnew #define ufdFileno ufdio->_fileno #define ufdOpen ufdio->_open #define ufdFopen ufdio->_fopen @@ -80,7 +80,7 @@ DBGREFS(0, (stderr, "--> url %p -- %d %s at %s:%u\n", u, u->nrefs, msg, file, li Fclose(u->ctrl); #endif - u->ctrl = fdio->deref(u->ctrl, "persist ctrl (urlFree)", file, line); + u->ctrl = fdio->_fdderef(u->ctrl, "persist ctrl (urlFree)", file, line); if (u->ctrl) fprintf(stderr, _("warning: u %p ctrl %p nrefs != 0 (%s %s)\n"), u, u->ctrl, u->host, u->service); @@ -97,7 +97,7 @@ DBGREFS(0, (stderr, "--> url %p -- %d %s at %s:%u\n", u, u->nrefs, msg, file, li Fclose(u->ctrl); #endif - u->data = fdio->deref(u->data, "persist data (urlFree)", file, line); + u->data = fdio->_fdderef(u->data, "persist data (urlFree)", file, line); if (u->data) fprintf(stderr, _("warning: u %p data %p nrefs != 0 (%s %s)\n"), u, u->data, u->host, u->service); |