diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-06-27 12:01:08 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-06-27 12:01:08 +0200 |
commit | 6812fceef4f955610e6075c798f729e7a0617b24 (patch) | |
tree | 42e86983cd6c89bd911da2d3f2af9dbcab16eefa /action.c | |
parent | 85c7f63eee765f44baf828b94a02ea6ee0b09747 (diff) | |
download | rsyslog-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.c | 28 |
1 files changed, 0 insertions, 28 deletions
@@ -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) { |