mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-14 01:50:35 +08:00
sort.h (sys/types.h): File included unconditionnaly.
* sort.h (sys/types.h): File included unconditionnaly. (stddef.h): File include only #ifdef __STDC__. * sort.c (UCHAR_MAX): Provide fallback definition. From-SVN: r33670
This commit is contained in:
parent
6b151aa706
commit
4aef973c2e
@ -1,3 +1,8 @@
|
||||
Thu May 4 17:15:26 2000 Philippe De Muyter <phdm@macqel.be>
|
||||
|
||||
* sort.h (sys/types.h): File included unconditionnaly.
|
||||
(stddef.h): File include only #ifdef __STDC__.
|
||||
|
||||
2000-05-03 Zack Weinberg <zack@wolery.cumb.org>
|
||||
|
||||
* symcat.h: Remove #endif label.
|
||||
|
@ -22,7 +22,10 @@ Boston, MA 02111-1307, USA. */
|
||||
#ifndef SORT_H
|
||||
#define SORT_H
|
||||
|
||||
#include <sys/types.h> /* For size_t */
|
||||
#ifdef __STDC__
|
||||
#include <stddef.h>
|
||||
#endif /* __STDC__ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -1,3 +1,7 @@
|
||||
Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
|
||||
|
||||
* sort.c (UCHAR_MAX): Provide fallback definition.
|
||||
|
||||
2000-04-29 Alexandre Oliva <aoliva@cygnus.com>
|
||||
|
||||
* Makefile.in (maintainer-clean-subdir): Fix handling of empty
|
||||
|
@ -29,6 +29,10 @@ Boston, MA 02111-1307, USA. */
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#ifndef UCHAR_MAX
|
||||
#define UCHAR_MAX ((unsigned char)(-1))
|
||||
#endif
|
||||
|
||||
/* POINTERS and WORK are both arrays of N pointers. When this
|
||||
function returns POINTERS will be sorted in ascending order. */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user