Use pg_icu_unicode_version(void) instead of pg_icu_unicode_version()

From: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Cc: Jeff Davis <pgsql(at)j-davis(dot)com>
Subject: Use pg_icu_unicode_version(void) instead of pg_icu_unicode_version()
Date: 2026-02-27 04:46:31
Message-ID: aaEhpwrj1FY/8/7n@ip-10-97-1-34.eu-west-3.compute.internal
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi hackers,

Standard practice in PostgreSQL is to use "foo(void)" instead of "foo()", as the
latter looks like an "old-style" function declaration. 9b05e2ec08a did fix
all the ones reported by -Wstrict-prototypes.

af2d4ca191a4 introduced a new one, this patch fixes it.

Regards,

--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

Attachment Content-Type Size
v1-0001-Use-pg_icu_unicode_version-void-instead-of-pg_icu.patch text/x-diff 1.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Corey Huinker 2026-02-27 04:50:19 Re: Defects with invalid stats data for expressions in extended stats
Previous Message David Rowley 2026-02-27 04:34:44 Re: Partial Mode in Aggregate Functions