Home GnuPG
Diffusion GnuPG 23745cddcc48

C99 compatibility fixes for gnupg 1

Description

C99 compatibility fixes for gnupg 1

Include <stdlib.h> for the exit function. This avoids a failing
GNUPG_CHECK_IPC check in case the compiler no longer supports implicit
function declarations.

Explicitly declare the return type of main as int. This too avoids
failures with future compilers.

Details

Provenance
Florian Weimer via Gnupg-devel <gnupg-devel@gnupg.org>Authored on Jan 27 2023, 1:11 PM
wernerCommitted on Jan 30 2023, 4:33 PM
Parents
rGb3c130eb25a6: build: Add m4/extern-inline.m4 from gnulib.
Branches
Unknown
Tags
Unknown
References
STABLE-BRANCH-1-4

Event Timeline

werner committed rG23745cddcc48: C99 compatibility fixes for gnupg 1 (authored by Florian Weimer via Gnupg-devel <gnupg-devel@gnupg.org>).Jan 30 2023, 4:33 PM