diff options
-rw-r--r-- | recordmydesktop/include/recordmydesktop.h | 2 | ||||
-rw-r--r-- | recordmydesktop/src/recordmydesktop.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/recordmydesktop/include/recordmydesktop.h b/recordmydesktop/include/recordmydesktop.h index 98c0cd4..9c63a7f 100644 --- a/recordmydesktop/include/recordmydesktop.h +++ b/recordmydesktop/include/recordmydesktop.h @@ -68,7 +68,5 @@ unsigned int frames_total, //frames calculated by total time expirations int capture_busy, encoder_busy; -int exit_status; - #endif 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; } |