Skip to content

Commit e558ee7

Browse files
committed
Remove not needed checks for functions
The following functions don't need to be checked anymore since the they are not used across the code or the symbols aren't used anymore: - cuserid (not used) - lrand48 (not used and removed via 6d6ef7a) - random (check is not used) - srand48 (not used) - srandom (not used) - strdup (check is not used) and the unused check symbols: - HAVE_CUSERID - HAVE_LRAND48 - HAVE_RANDOM - HAVE_SRAND48 - HAVE_SRANDOM - HAVE_STRDUP Closes phpGH-4338
1 parent c70d9cd commit e558ee7

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

configure.ac

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,6 @@ alphasort \
588588
asctime_r \
589589
chroot \
590590
ctime_r \
591-
cuserid \
592591
crypt \
593592
explicit_memset \
594593
flock \
@@ -621,7 +620,6 @@ link \
621620
localtime_r \
622621
lockf \
623622
lchown \
624-
lrand48 \
625623
mbrlen \
626624
memmove \
627625
mkstemp \
@@ -632,7 +630,6 @@ poll \
632630
ptsname \
633631
putenv \
634632
realpath \
635-
random \
636633
rand_r \
637634
scandir \
638635
setitimer \
@@ -642,13 +639,10 @@ setvbuf \
642639
shutdown \
643640
sigprocmask \
644641
sin \
645-
srand48 \
646-
srandom \
647642
statfs \
648643
statvfs \
649644
std_syslog \
650645
strcasecmp \
651-
strdup \
652646
strerror \
653647
strfmon \
654648
strnlen \

win32/build/config.w32.h.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
#endif
8181
#define HAVE_SHUTDOWN 1
8282
#define HAVE_STRCASECMP 1
83-
#define HAVE_STRDUP 1
8483
#define HAVE_STRERROR 1
8584
#define HAVE_TEMPNAM 1
8685
#define HAVE_UTIME 1
@@ -98,7 +97,6 @@
9897
#undef HAVE_KILL
9998
#define HAVE_GETPID 1
10099
#define HAVE_LIBM 1
101-
#define HAVE_CUSERID 0
102100
#undef HAVE_RINT
103101
#define SIZEOF_SHORT 2
104102
/* int and long are stll 32bit in 64bit compiles */

0 commit comments

Comments
 (0)