From 79abd73eee470d52690ca398906074f2be84c05b Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 27 Aug 2000 19:00:41 +0000 Subject: Remove configure tests for `signed', `volatile', and signal handler args; the harm potential outweighs the possible benefits. --- src/bin/psql/common.c | 4 ++-- src/bin/psql/common.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/bin') diff --git a/src/bin/psql/common.c b/src/bin/psql/common.c index 4c802198a6..65d0c8bf83 100644 --- a/src/bin/psql/common.c +++ b/src/bin/psql/common.c @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.21 2000/07/02 15:21:17 petere Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.22 2000/08/27 19:00:34 petere Exp $ */ #include "postgres.h" #include "common.h" @@ -252,7 +252,7 @@ volatile bool cancel_pressed; #define write_stderr(String) write(fileno(stderr), String, strlen(String)) void -handle_sigint(SIGNAL_ARGS) +handle_sigint(int signum) { /* Don't muck around if copying in or prompting for a password. */ if ((copy_in_state && pset.cur_cmd_interactive) || prompt_state) diff --git a/src/bin/psql/common.h b/src/bin/psql/common.h index b2600060e1..ff8888cb65 100644 --- a/src/bin/psql/common.h +++ b/src/bin/psql/common.h @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/common.h,v 1.10 2000/04/12 17:16:22 momjian Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/common.h,v 1.11 2000/08/27 19:00:36 petere Exp $ */ #ifndef COMMON_H #define COMMON_H @@ -34,7 +34,7 @@ extern volatile bool cancel_pressed; extern PGconn *cancelConn; #ifndef WIN32 -void handle_sigint(SIGNAL_ARGS); +void handle_sigint(int signum); #endif /* not WIN32 */ -- cgit v1.2.1