summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-01-30 12:20:59 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-01-30 12:20:59 +0200
commit90fbda71036fe0614558750fb4fa862c3b8f1413 (patch)
tree94c2272421daceb720ff1dbb73a8b5563cdd404d
parente97aefc89bdd10616a8bd0fce642a93148ab357a (diff)
downloadrpm-90fbda71036fe0614558750fb4fa862c3b8f1413.tar.gz
rpm-90fbda71036fe0614558750fb4fa862c3b8f1413.tar.bz2
rpm-90fbda71036fe0614558750fb4fa862c3b8f1413.zip
Move FD_t to rpmtypes.h, used all over ..
-rw-r--r--lib/rpmtypes.h2
-rw-r--r--rpmio/rpmio.h5
2 files changed, 3 insertions, 4 deletions
diff --git a/lib/rpmtypes.h b/lib/rpmtypes.h
index 1bb087eef..813ce6e84 100644
--- a/lib/rpmtypes.h
+++ b/lib/rpmtypes.h
@@ -39,6 +39,8 @@ typedef struct rpmSpec_s * rpmSpec;
typedef const void * fnpyKey;
+typedef struct _FD_s * FD_t;
+
/**
* Package read return codes.
*/
diff --git a/rpmio/rpmio.h b/rpmio/rpmio.h
index 47e0ce27d..c5e26ae6f 100644
--- a/rpmio/rpmio.h
+++ b/rpmio/rpmio.h
@@ -12,6 +12,7 @@
#include <stdlib.h>
#include <unistd.h>
+#include <rpm/rpmtypes.h>
#include <rpm/rpmsw.h>
#ifdef __cplusplus
@@ -36,10 +37,6 @@ typedef off_t _libio_pos_t;
/** \ingroup rpmio
*/
-typedef struct _FD_s * FD_t;
-
-/** \ingroup rpmio
- */
typedef struct FDIO_s * FDIO_t;