File: 0024-Remove-problematic-extern-for-ungetc-in-f2c.h.patch

package info (click to toggle)
siconos 4.4.0%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 78,600 kB
  • sloc: cpp: 160,976; ansic: 129,998; fortran: 33,051; python: 20,958; xml: 1,244; sh: 385; makefile: 318
file content (21 lines) | stat: -rw-r--r-- 581 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Stephen Sinclair <radarsat1@gmail.com>
Date: Fri, 14 Nov 2025 21:29:02 +0000
Subject: Remove problematic extern for ungetc() in f2c.h

Not applicable to Debian anyway.
---
 externals/tools/f2c.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/externals/tools/f2c.h b/externals/tools/f2c.h
index 01cdc73..42d235c 100644
--- a/externals/tools/f2c.h
+++ b/externals/tools/f2c.h
@@ -79,7 +79,6 @@ typedef short int shortlogical;
 #define Extern extern
 #endif
 
-extern int ungetc();    /* This is not declared in Sun's <stdio.h> */
 
 /* I/O stuff */
 #ifndef DOXYGEN_IGNORE