Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 cdecl (2.5-14) UNRELEASED; urgency=medium
 .
   * Fix gcc-14 build issues (closes: #1074872)
Author: Fredrik Hallenberg <hallon@debian.org>
Bug-Debian: https://bugs.debian.org/1074872

---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>
Last-Update: 2024-11-23

--- cdecl-2.5.orig/cdecl.c
+++ cdecl-2.5/cdecl.c
@@ -154,6 +154,8 @@ char real_prompt[MAX_NAME+3];
 #endif /* __STDC__ */
   FILE *tmpfile();
 
+int dotmpfile_from_string(char *s);
+
 /* variables used during parsing */
 unsigned modbits = 0;
 int arbdims = 1;
@@ -1246,6 +1248,7 @@ void versions()
 }
 
 int main(argc, argv)
+int argc;
 char **argv;
 {
     int c, ret = 0;
