summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-11-04 18:31:00 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-11-04 18:31:00 +0100
commit25b223c0dcd3e8449a048c87bdab2ad899fd9dcc (patch)
treeb6647d7f00916e897d92762e1761ade730c06e58
parentd9a657aa7f1d15c21d7fedaa5f9ce724d40896c3 (diff)
downloadrsyslog-25b223c0dcd3e8449a048c87bdab2ad899fd9dcc.tar.gz
rsyslog-25b223c0dcd3e8449a048c87bdab2ad899fd9dcc.tar.bz2
rsyslog-25b223c0dcd3e8449a048c87bdab2ad899fd9dcc.zip
more cleanup
-rw-r--r--runtime/batch.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/runtime/batch.h b/runtime/batch.h
index fac0158e..ea2d6a35 100644
--- a/runtime/batch.h
+++ b/runtime/batch.h
@@ -88,17 +88,6 @@ batchSetSingleRuleset(batch_t *pBatch, sbool val) {
pBatch->bSingleRuleset = val;
}
-/* get the batches ruleset (if we have a single ruleset) */
-static inline ruleset_t*
-batchGetRuleset(batch_t *pBatch) {
- return (pBatch->nElem > 0) ? pBatch->pElem[0].pMsg->pRuleset : NULL;
-}
-
-/* get the ruleset of a specifc element of the batch (index not verified!) */
-static inline ruleset_t*
-batchElemGetRuleset(batch_t *pBatch, int i) {
- return pBatch->pElem[i].pMsg->pRuleset;
-}
/* get number of msgs for this batch */
static inline int