summaryrefslogtreecommitdiff
path: root/libiberty/physmem.c
Commit message (Collapse)AuthorAgeFilesLines
* Update the address and phone number of the FSF organization.nickc2005-05-101-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99519 138bc75d-0d04-0410-961f-82ee72b054a4
* include/gdr2005-03-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> * partition.h: Remove use of PARAMS. * obstack.h: Remove conditional prototypes __STDC__. * objalloc.h: Remove use of PARAMS. * splay-tree.h: Likewise. libiberty/ 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> Convert libiberty to use ISO C prototype style 5/n. * random.c (srandom, initstate, setstate, random): Use ISO C prototypes. * putenv.c (putenv): Likewise. * physmem.c (physmem_available, physmem_total, main): Likewise. * pex-win32.c (fix_argv, pexecute, pwait): Likewise. * pex-unix.c (pexecute, pwait): Likewise. * pex-msdos.c (pexecute, pwait): Likewise. * pex-djgpp.c (pexecute, pwait): Likewise. * partition.c (partition_new, partition_delete, partition_union) (elem_compare, partition_print): Likewise. * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk, _obstack_allocated_p, _obstack_free, obstack_free, _obstack_memory_used, print_and_abort, obstack_next_free, obstack_object_size, obstack_base): Likewise. Remove codes predicated on !defined(__STDC__). * objalloc.c (objalloc_create, _objalloc_alloc, objalloc_free, objalloc_free_block): Use ISO C prototypes. * mkstemps.c (mkstemps): Likewise. * memset.c (memset): Likewise. * mempcpy.c (mempcpy): Likewise. * rename.c (rename): Likewise. * rindex.c (rindex): Likewise. * setenv.c (setenv, unsetenv): Likewise. * sigsetmask.c (sigsetmask): Likewise. * snprintf.c (snprintf): Likewise. * sort.c (sort_pointers, xmalloc): Likewise. * spaces.c (spaces): Likewise. * splay-tree.c (splay_tree_delete_helper, splay_tree_splay_helper, splay_tree_splay, splay_tree_foreach_helper, splay_tree_xmalloc_allocate, splay_tree_new, splay_tree_xmalloc_allocate, splay_tree_new_with_allocator, splay_tree_delete, splay_tree_insert, splay_tree_remove, splay_tree_lookup, splay_tree_max, splay_tree_min, splay_tree_predecessor, splay_tree_successor, splay_tree_foreach, splay_tree_compare_ints, splay_tree_compare_pointers): Likewise. * stpcpy.c (stpcpy): Likewise. * stpncpy.c (stpncpy): Likewise. * strcasecmp.c (strcasecmp): Likewise. * strchr.c (strchr): Likewise. * strdup.c (strdup): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97125 138bc75d-0d04-0410-961f-82ee72b054a4
* PR bootstrap/10974ghazi2003-06-091-1/+1
| | | | | | | | | | | * physmem.c: Update comment. * configure.in: Modify test for _system_configuration for older AIX systems. * config.in, configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67649 138bc75d-0d04-0410-961f-82ee72b054a4
* * physmem.c: Formatting changes from upstream.ghazi2003-02-271-39/+40
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63519 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-24 Danny Smith <dannysmith@users.source.forge.net>ghazi2003-02-271-0/+77
| | | | | | | | * physmem.c (physmem_total): Add _WIN32 support. (physmem_available): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63504 138bc75d-0d04-0410-961f-82ee72b054a4
* * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test forro2003-02-241-2/+2
| | | | | | | | GSI_PHYSMEM. (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63373 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Check for sys/systemcfg.h andghazi2003-02-221-9/+18
| | | | | | | | | _system_configuration. * physmem.c: Add support for AIX. Tweek formatting as per upstream coreutils beta. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63287 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Check for sys/sysctl.h and sysctl.ghazi2003-02-221-0/+34
| | | | | | | | * physmem.c: Add support for *bsd and darwin. * Makefile.in: Generate depedency for physmem.o. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63285 138bc75d-0d04-0410-961f-82ee72b054a4
* * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo onro2003-02-211-0/+39
| | | | | | | | | | | | | | Tru64 UNIX. (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on Tru64 UNIX. * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h, machine/hal_sysinfo.h, sys/table.h. (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table. * configure, config.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63241 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Check for sys/sysmp.h and sysmp.ghazi2003-02-211-4/+57
| | | | | | | | | * physmem.c: Pull upstream copy, add support for irix6. * config.in, configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63237 138bc75d-0d04-0410-961f-82ee72b054a4
* * physmem.c (physmem_total, physmem_available): De-ANSI-fy.ghazi2003-02-211-2/+2
| | | | | | | | * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and pstat_getdynamic. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63203 138bc75d-0d04-0410-961f-82ee72b054a4
* include:ghazi2003-02-211-0/+92
* libiberty.h (physmem_total, physmem_available): Prototype. libiberty: * Makefile.in (CFILES): Add physmem.c. (REQUIRED_OFILES): Add physmem.o. * configure.in: Check for sys/pstat.h. (checkfuncs): Add pstat_getstatic and pstat_getdynamic. * physmem.c: New file, copied from textutils. * config.in, configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63198 138bc75d-0d04-0410-961f-82ee72b054a4