wscript: remove all checks for _FUNC and __FUNC
authorRalph Boehme <slow@samba.org>
Mon, 30 Sep 2019 09:49:28 +0000 (11:49 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 10 Oct 2019 18:56:33 +0000 (18:56 +0000)
Those where historic artifacts not needed anymore.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/wscript

index a6092b87615812c75005cf6bf108e956450785fd..6a93fa72f4af0e1f98e907c6d3cb019947d4d740 100644 (file)
@@ -383,34 +383,31 @@ int main(int argc, char **argv) {
                     msg="Checking for LL suffix on long long integers")
 
     conf.CHECK_FUNCS('''
-_acl __acl atexit
- _chdir __chdir chflags chmod _close __close _closedir
-__closedir crypt16 devnm dirfd
-DNSServiceRegister _dup __dup _dup2 __dup2 endmntent execl
-_facl __facl _fchdir
-__fchdir fchmod fchown _fcntl __fcntl fcvt fcvtl fdatasync
-_fork __fork fseeko
-_fstat __fstat fsync
-futimens futimes __fxstat getauthuid
-getcwd _getcwd __getcwd
+atexit
+chflags chmod
+crypt16 devnm dirfd
+DNSServiceRegister endmntent execl
+fchmod fchown fcvt fcvtl fdatasync
+fseeko
+fsync
+futimens futimes getauthuid
+getcwd
 getgrent getgrnam getgrouplist getgrset getmntent getpagesize
 getpwanam getpwent_r getrlimit
 glob grantpt hstrerror initgroups innetgr
-llseek _llseek __llseek _lseek __lseek
-_lstat __lstat lutimes
-__lxstat memalign mknod mlock mlockall munlock munlockall
-_open __open _opendir __opendir
+llseek
+lutimes
+memalign mknod mlock mlockall munlock munlockall
 pathconf poll
-posix_memalign pread _pread __pread
-pwrite _pwrite __pwrite
-rdchk _read __read _readdir __readdir
-_seekdir __seekdir
+posix_memalign pread
+pwrite
+rdchk
 select setenv setgidx setgroups setlocale setluid
 setmntent setpgid setpriv setsid setuidx
-_stat __stat statvfs
+statvfs
 strcasecmp strchr strpbrk strsignal strtol strupr sysconf sysctl sysctlbyname
-__sys_llseek syslog _telldir __telldir timegm
-utimensat vsyslog _write __write __xstat
+syslog timegm
+utimensat vsyslog
 ''')
 
     conf.CHECK_SAMBA3_CHARSET() # see build/charset.py