
The SuperH target doesn't build on GCC 14.1 because of missing function prototypes or because some function declarations use the deprecated K&R style. This patch adds missing prototypes on the files the functions are used and convert K&R declarations to ANSI-style. Signed-off-by: Pietro Monteiro <pietro@sociotechnical.xyz>
8 lines
122 B
C
8 lines
122 B
C
extern int
|
|
_creat (const char *path, int mode);
|
|
|
|
int
|
|
creat (const char *path, int mode)
|
|
{
|
|
return _creat (path, mode);
|
|
}
|