diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-11-08 15:59:45 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-11-08 15:59:45 +0200 |
commit | 7d032c35059210b81ac8054a81ea1270837fadc3 (patch) | |
tree | 028b8431345337eebfc2200be7f51c5e78d750de /rpmio/rpmsq.h | |
parent | 262f2d63b1789cd832db37037e7988306db524a6 (diff) | |
download | rpm-7d032c35059210b81ac8054a81ea1270837fadc3.tar.gz rpm-7d032c35059210b81ac8054a81ea1270837fadc3.tar.bz2 rpm-7d032c35059210b81ac8054a81ea1270837fadc3.zip |
Minimal protection for rpmsqElem internals
Diffstat (limited to 'rpmio/rpmsq.h')
-rw-r--r-- | rpmio/rpmsq.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rpmio/rpmsq.h b/rpmio/rpmsq.h index 0d0f4fa1b..ff009c012 100644 --- a/rpmio/rpmsq.h +++ b/rpmio/rpmsq.h @@ -30,6 +30,8 @@ typedef void (*rpmsqAction_t) (int signum, void * info, void * context); extern int _rpmsq_debug; +/* XXX make this fully opaque? */ +#if defined(_RPMSQ_INTERNAL) /** * SIGCHLD queue element. */ @@ -47,6 +49,7 @@ struct rpmsqElem { pthread_mutex_t mutex; /*!< Signal delivery to thread condvar. */ pthread_cond_t cond; }; +#endif /* _RPMSQ_INTERNAL */ extern rpmsq rpmsqQueue; |