summaryrefslogtreecommitdiff
path: root/src/cli_new.c
diff options
context:
space:
mode:
authorMichael Larson <mike@vyatta.com>2011-01-06 16:52:01 -0800
committerStig Thormodsrud <stig@vyatta.com>2011-01-11 16:39:32 -0800
commit08130814f16f30c634979a36ad228da555ce776a (patch)
tree4206351b9382f55691d547b05163ace0d67a3ebe /src/cli_new.c
parent1b009e7bb02e0737d7c4461caea7ba229f851375 (diff)
downloadvyatta-cfg-08130814f16f30c634979a36ad228da555ce776a.tar.gz
vyatta-cfg-08130814f16f30c634979a36ad228da555ce776a.zip
use the old interface rather than call unlink directly.
(cherry picked from commit 3246881725b219e532464a0191d074e9f02cba23)
Diffstat (limited to 'src/cli_new.c')
-rw-r--r--src/cli_new.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli_new.c b/src/cli_new.c
index 2db7996..f746b7f 100644
--- a/src/cli_new.c
+++ b/src/cli_new.c
@@ -330,7 +330,7 @@ void di(vtw_sorted *srtp)
#define LOCK_FILE "/opt/vyatta/config/.lock"
#define COMMIT_CMD "/opt/vyatta/sbin/my_commit"
-static void
+void
release_config_lock()
{
unlink(LOCK_FILE);