From 77ee36547a3ed0e7fad1e176f4a6a9c6fe227861 Mon Sep 17 00:00:00 2001 From: enselic Date: Fri, 12 Sep 2008 21:04:36 +0000 Subject: include/recordmydesktop.h: Make the global exit_status variable src/recordmydesktop.c: local here. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@511 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- recordmydesktop/src/recordmydesktop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recordmydesktop/src') diff --git a/recordmydesktop/src/recordmydesktop.c b/recordmydesktop/src/recordmydesktop.c index 859477a..49f9d1b 100644 --- a/recordmydesktop/src/recordmydesktop.c +++ b/recordmydesktop/src/recordmydesktop.c @@ -30,8 +30,7 @@ int main(int argc,char **argv){ ProgData pdata; - - exit_status=0; + int exit_status = 0; DEFAULT_ARGS(&pdata.args); if(ParseArgs(argc,argv,&pdata.args)){ @@ -177,6 +176,7 @@ int main(int argc,char **argv){ CleanUp(); } } + return exit_status; } -- cgit v1.2.3