Skip to content

Commit

Permalink
Update configure script.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Dec 10, 2023
1 parent 2753a82 commit cb6b493
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -1898,7 +1898,9 @@ struct stat;
/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
struct buf { int x; };
struct buf * (*rcsopen) (struct buf *, struct stat *, int);
static char *e (char **p, int i)
static char *e (p, i)
char **p;
int i;
{
return p[i];
}
Expand Down Expand Up @@ -1949,7 +1951,6 @@ extern int puts (const char *);
extern int printf (const char *, ...);
extern int dprintf (int, const char *, ...);
extern void *malloc (size_t);
extern void free (void *);
// Check varargs macros. These examples are taken from C99 6.10.3.5.
// dprintf is used instead of fprintf to avoid needing to declare
Expand Down Expand Up @@ -4054,14 +4055,8 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply.
The 'extern "C"' is for builds by C++ compilers;
although this is not generally supported in C code supporting it here
has little cost and some practical benefit (sr 110532). */
#ifdef __cplusplus
extern "C"
#endif
char inflateCopy (void);
builtin and then its argument prototype would still apply. */
char inflateCopy ();
int
main (void)
{
Expand Down

0 comments on commit cb6b493

Please sign in to comment.