Skip to content

Commit 15f36a6

Browse files
committed
GCC-15 tolerance
gcc-15 treats void f(); as void f(void); See #169
1 parent 7ffc755 commit 15f36a6

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

src/make.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -415,11 +415,7 @@ long int lseek ();
415415

416416
#endif /* Not GNU C library or POSIX. */
417417

418-
#ifdef HAVE_GETCWD
419-
# if !defined(VMS) && !defined(__DECC)
420-
char *getcwd ();
421-
# endif
422-
#else
418+
#ifndef HAVE_GETCWD
423419
char *getwd ();
424420
# define getcwd(buf, len) getwd (buf)
425421
#endif

src/makeint.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -611,11 +611,7 @@ long int lseek ();
611611

612612
#endif /* Not GNU C library or POSIX. */
613613

614-
#ifdef HAVE_GETCWD
615-
# if !defined(VMS) && !defined(__DECC)
616-
char *getcwd ();
617-
# endif
618-
#else
614+
#ifndef HAVE_GETCWD
619615
char *getwd ();
620616
# define getcwd(buf, len) getwd (buf)
621617
#endif

0 commit comments

Comments
 (0)