aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ali Polatel <alip@exherbo.org> 2012-08-13 17:46:30 +0300
committerAvatar Ali Polatel <alip@exherbo.org> 2012-08-13 17:48:17 +0300
commit2141ed07f350dfad0231c48cba48703eab9549ca (patch)
tree70eb3ed01cb91aa02f5483b6e536738499009ea1
parentdb08e1df36ca22f30c1b7f23f76d8a58c87888ac (diff)
downloadsydbox-2141ed07f350dfad0231c48cba48703eab9549ca.tar.gz
sydbox-2141ed07f350dfad0231c48cba48703eab9549ca.tar.xz
Use atexit() instead of deprecated g_atexit()
-rw-r--r--src/syd-main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syd-main.c b/src/syd-main.c
index 9d5891f..91bee95 100644
--- a/src/syd-main.c
+++ b/src/syd-main.c
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2009, 2010 Ali Polatel <alip@exherbo.org>
+ * Copyright (c) 2009, 2010, 2012 Ali Polatel <alip@exherbo.org>
* Copyright (c) 2009 Saleem Abdulrasool <compnerd@compnerd.org>
*
* This file is part of the sydbox sandbox tool. sydbox is free software;
@@ -295,7 +295,7 @@ static int sydbox_internal_main(int argc, char **argv)
dispatch_init();
ctx = context_new();
- g_atexit(cleanup);
+ atexit(cleanup);
/*
* options are loaded from config file, user config file, updated from the