summaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-06-27 12:01:08 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-06-27 12:01:08 +0200
commit6812fceef4f955610e6075c798f729e7a0617b24 (patch)
tree42e86983cd6c89bd911da2d3f2af9dbcab16eefa /action.c
parent85c7f63eee765f44baf828b94a02ea6ee0b09747 (diff)
downloadrsyslog-6812fceef4f955610e6075c798f729e7a0617b24.tar.gz
rsyslog-6812fceef4f955610e6075c798f729e7a0617b24.tar.xz
rsyslog-6812fceef4f955610e6075c798f729e7a0617b24.zip
cleanup: remove config scoping system left-over
this was an experiment in early v6 that did not work out. I forgot to remove this code when I undid it.
Diffstat (limited to 'action.c')
-rw-r--r--action.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/action.c b/action.c
index 92c21cb3..9bf43d6f 100644
--- a/action.c
+++ b/action.c
@@ -2010,34 +2010,6 @@ initConfigVariables(void)
}
-/* save our config and create a new scope. Note that things are messed up if
- * this is called while the config is already saved (we currently do not
- * have a stack as the design is we need none!
- * rgerhards, 2010-07-23
- */
-rsRetVal
-actionNewScope(void)
-{
- DEFiRet;
- memcpy(&cs_save, &cs, sizeof(cs));
- initConfigVariables();
- RETiRet;
-}
-
-
-/* restore previously saved scope.
- * rgerhards, 2010-07-23
- */
-rsRetVal
-actionRestoreScope(void)
-{
- DEFiRet;
- memcpy(&cs, &cs_save, sizeof(cs));
- RETiRet;
-}
-
-
-
rsRetVal
actionNewInst(struct nvlst *lst, action_t **ppAction)
{