Search
j0ke.net Open Build Service
>
Projects
>
NASlinux
>
LCDproc
> lcdproc-fix-return.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File lcdproc-fix-return.diff of Package LCDproc
--- clients/lcdexec/lcdexec.c | 2 +- clients/lcdproc/main.c | 2 +- clients/lcdvc/lcdvc.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) --- a/clients/lcdexec/lcdexec.c +++ b/clients/lcdexec/lcdexec.c @@ -100,7 +100,7 @@ int Quit = 0; /**< indicate end of mai /* Function prototypes */ -static void exit_program(int val); +static void exit_program(int val) __attribute__ ((noreturn)); static void sigchld_handler(int signal); static int process_command_line(int argc, char **argv); static int process_configfile(char * configfile); --- a/clients/lcdvc/lcdvc.c +++ b/clients/lcdvc/lcdvc.c @@ -72,7 +72,7 @@ int pidfile_written = FALSE; int Quit = 0; /**< indicate end of main loop */ /* Function prototypes */ -static void exit_program(int val); +static void exit_program(int val) __attribute__ ((noreturn)); static int process_command_line(int argc, char **argv); static int process_configfile(char *configfile); static int main_loop(void); --- a/clients/lcdproc/main.c +++ b/clients/lcdproc/main.c @@ -59,7 +59,7 @@ static struct utsname unamebuf; */ static void HelpScreen(int exit_state); -static void exit_program(int val); +static void exit_program(int val) __attribute__ ((noreturn)); static void main_loop(void); static int process_configfile(char *cfgfile);