comparison lib/getloadavg.c @ 39929:c8542f2525a3

fsusage, stat-size, getloadavg: Remove support for AIX PS/2. * m4/fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Don't check for dustat.h. * lib/fsusage.c: Remove code for AIX PS/2. * lib/stat-size.h (ST_NBLOCKSIZE): Likewise. * lib/getloadavg.c: Likewise.
author Bruno Haible <bruno@clisp.org>
date Tue, 16 Oct 2018 20:43:03 +0200
parents 47c45030cec7
children 715751f97cc3
comparison
equal deleted inserted replaced
39928:47c45030cec7 39929:c8542f2525a3
881 # endif /* not HAVE_STRUCT_NLIST_N_UN_N_NAME */ 881 # endif /* not HAVE_STRUCT_NLIST_N_UN_N_NAME */
882 # endif /* NLIST_STRUCT */ 882 # endif /* NLIST_STRUCT */
883 883
884 # ifndef SUNOS_5 884 # ifndef SUNOS_5
885 if ( 885 if (
886 # if !(defined (_AIX) && !defined (ps2)) 886 # if !defined (_AIX)
887 nlist (KERNEL_FILE, name_list) 887 nlist (KERNEL_FILE, name_list)
888 # else /* _AIX */ 888 # else /* _AIX */
889 knlist (name_list, 1, sizeof (name_list[0])) 889 knlist (name_list, 1, sizeof (name_list[0]))
890 # endif 890 # endif
891 >= 0) 891 >= 0)