Skip to content

Commit b1cc572

Browse files
committed
Add missing "void" to prototypes.
Commit 5910d6c got this wrong. Report and patch by Andrew Gierth. Discussion: http://postgr.es/m/8736diaj98.fsf@news-spur.riddles.org.uk
1 parent 7dbfea3 commit b1cc572

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/backend/postmaster/autovacuum.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ NON_EXEC_STATIC void AutoVacLauncherMain(int argc, char *argv[]) pg_attribute_no
311311

312312
static Oid do_start_worker(void);
313313
static void HandleAutoVacLauncherInterrupts(void);
314-
static void AutoVacLauncherShutdown() pg_attribute_noreturn();
314+
static void AutoVacLauncherShutdown(void) pg_attribute_noreturn();
315315
static void launcher_determine_sleep(bool canlaunch, bool recursing,
316316
struct timeval *nap);
317317
static void launch_worker(TimestampTz now);

src/backend/postmaster/checkpointer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ static pg_time_t last_xlog_switch_time;
161161

162162
/* Prototypes for private functions */
163163

164-
static void HandleCheckpointerInterrupts();
164+
static void HandleCheckpointerInterrupts(void);
165165
static void CheckArchiveTimeout(void);
166166
static bool IsCheckpointOnSchedule(double progress);
167167
static bool ImmediateCheckpointRequested(void);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy