From 75027ac5cbe10abc785049c7bcfddc526d5cea54 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 24 Nov 2025 11:02:35 +0100 Subject: [PATCH 4/6] Change Pointer to void * --- src/include/c.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/include/c.h b/src/include/c.h index 729eb8a27de..fd9a89fe5f7 100644 --- a/src/include/c.h +++ b/src/include/c.h @@ -527,11 +527,9 @@ typedef void (*pg_funcptr_t) (void); /* * Pointer * Variable holding address of any memory resident object. - * - * XXX Pointer arithmetic is done with this, so it can't be void * - * under "true" ANSI compilers. + * (obsolescent; use void * or char *) */ -typedef char *Pointer; +typedef void *Pointer; /* Historical names for types in . */ typedef int8_t int8; -- 2.52.0