From 45367d28d7c784ba5aa6f790f87d7c8ff66be399 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 3 Oct 2010 20:35:33 -0700 Subject: [PATCH] pspp: Make style slightly more like the rest of the program. --- src/ui/terminal/main.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) 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 -- 2.30.2