From: Ben Pfaff Date: Mon, 4 Oct 2010 03:35:33 +0000 (-0700) Subject: pspp: Make style slightly more like the rest of the program. X-Git-Tag: v0.7.6~103 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45367d28d7c784ba5aa6f790f87d7c8ff66be399;p=pspp-builds.git pspp: Make style slightly more like the rest of the program. --- diff --git a/src/ui/terminal/main.c b/src/ui/terminal/main.c index fa99fe1a..860d04f9 100644 --- a/src/ui/terminal/main.c +++ b/src/ui/terminal/main.c @@ -61,20 +61,15 @@ #include "gettext.h" #define _(msgid) gettext (msgid) - -static void fpu_init (void); -static void clean_up (void); - -/* If a segfault happens, issue a message to that effect and halt */ -void bug_handler(int sig); - -/* Handle quit/term/int signals */ -void interrupt_handler(int sig); static struct dataset * the_dataset = NULL; static struct lexer *the_lexer; static struct source_stream *the_source_stream ; +static void bug_handler(int sig); +static void fpu_init (void); +static void clean_up (void); + /* Program entry point. */ int main (int argc, char **argv) @@ -136,7 +131,6 @@ main (int argc, char **argv) clean_up (); return msg_ui_any_errors (); } - static void fpu_init (void) @@ -152,7 +146,7 @@ fpu_init (void) } /* If a segfault happens, issue a message to that effect and halt */ -void +static void bug_handler(int sig) { /* Reset SIG to its default handling so that if it happens again we won't