diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2015-08-15 12:54:08 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2015-10-02 18:34:57 -0400 |
commit | 821805a244cacd9869331999cd53407f3323206a (patch) | |
tree | 683241784dda0711327df684d4c12bf2a18ca855 /hints | |
parent | 95318fb638d5803b82c05a3976715fa2f1e4623e (diff) | |
download | perl-821805a244cacd9869331999cd53407f3323206a.tar.gz |
Remove unused filesystem stat symbols.
d_fs_data_s HAS_STRUCT_FS_DATA
d_fstatfs HAS_FSTATFS
d_fstatvfs HAS_FSTATVFS
d_getfsstat HAS_GETFSSTAT
d_getmnt HAS_GETMNT
d_getmntent HAS_GETMNTENT
d_hasmntopt HAS_HASMNTOPT
d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS
d_statfs_s HAS_STRUCT_STATFS
d_ustat HAS_USTAT
i_mntent I_MNTENT
i_sysmount I_SYS_MOUNT
i_sysstatfs I_SYS_STATFS
i_sysstatvfs I_SYS_STATVFS
i_sysvfs I_SYS_VFS
i_ustat I_USTAT
Unused by the Perl core.
As far as I can remember I added these scans long ago, for some
purpose (df(1) kind of APIs?) but whatever it was, it obviously
hasn't exactly caught fire in the last 15 years.
Some rare uses of these APIs (not these defines, but e.g. statfs)
in CPAN (like the Quota module), but those seem to do their own
configuration.
Diffstat (limited to 'hints')
-rw-r--r-- | hints/linux-android.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/hints/linux-android.sh b/hints/linux-android.sh index 6a59cb726e..51fd5f51f6 100644 --- a/hints/linux-android.sh +++ b/hints/linux-android.sh @@ -80,18 +80,6 @@ if test "X$android_warn" != X; then fi $cat > try.c << 'EOM' -#include <stdio.h> -#include <mntent.h> -#include <unistd.h> -int main() { (void) getmntent(stdout); return(0); } -EOM -$cc $ccflags try.c -o try -android_warn=`$run ./try 2>&1 | $egrep "$android_stub"` -if test "X$android_warn" != X; then - d_getmntent="$undef" -fi - -$cat > try.c << 'EOM' #include <netdb.h> int main() { (void) getprotobyname("foo"); return(0); } EOM |