From 2afacfc403d439261b7a60c73e164423bc63bbc6 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 12 Dec 2003 18:45:10 +0000 Subject: This patch properly sets the prototype for the on_shmem_exit and on_proc_exit functions, and adjust all other related code to use the proper types too. by Kurt Roeckx --- src/backend/commands/async.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/commands/async.c') diff --git a/src/backend/commands/async.c b/src/backend/commands/async.c index 7428fcec8b2..3063815533d 100644 --- a/src/backend/commands/async.c +++ b/src/backend/commands/async.c @@ -7,7 +7,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/commands/async.c,v 1.105 2003/11/29 19:51:47 pgsql Exp $ + * $PostgreSQL: pgsql/src/backend/commands/async.c,v 1.106 2003/12/12 18:45:08 petere Exp $ * *------------------------------------------------------------------------- */ @@ -120,7 +120,7 @@ bool Trace_notify = false; static void Async_UnlistenAll(void); -static void Async_UnlistenOnExit(void); +static void Async_UnlistenOnExit(int code, Datum arg); static void ProcessIncomingNotify(void); static void NotifyMyFrontEnd(char *relname, int32 listenerPID); static bool AsyncExistsPendingNotify(const char *relname); @@ -384,7 +384,7 @@ Async_UnlistenAll(void) *-------------------------------------------------------------- */ static void -Async_UnlistenOnExit(void) +Async_UnlistenOnExit(int code, Datum arg) { /* * We need to start/commit a transaction for the unlisten, but if -- cgit v1.2.3