Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xbdmenu.git;a=commitdiff;h=b94a4203971885dfb8ea6db3d8892109937ba267

commit b94a4203971885dfb8ea6db3d8892109937ba267
Author: James Buren <r...@frugalware.org>
Date:   Tue Jun 9 01:11:51 2009 -0500

main.c
* update

diff --git a/main.c b/main.c
index 61be2d3..c286c53 100644
--- a/main.c
+++ b/main.c
@@ -1,2 +1,13 @@
+#include <stdlib.h>
+#include "util.h"
+
+void cleanup(void) {
+}
+
int main(int argc,char **argv) {
+       if( atexit(cleanup) ) {
+               eprintf("Failed to register cleanup() with atexit().\n");
+               return EXIT_FAILURE;
+       }
+       return EXIT_SUCCESS;
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to