* include/search.h: Reinstate node_t definition.
* include/sys/cdefs.h: Remove in favor of newlib version.
This commit is contained in:
parent
438b07b09f
commit
4a2c88cdc7
|
@ -1,3 +1,11 @@
|
|||
2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
|
||||
|
||||
* include/search.h: Reinstate node_t definition.
|
||||
|
||||
2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
|
||||
|
||||
* include/sys/cdefs.h: Remove in favor of newlib version.
|
||||
|
||||
2007-06-14 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* autoload.cc (GetIpForwardTable): Define.
|
||||
|
|
|
@ -31,6 +31,14 @@ typedef enum
|
|||
leaf
|
||||
} VISIT;
|
||||
|
||||
#ifdef _SEARCH_PRIVATE
|
||||
typedef struct node
|
||||
{
|
||||
char *key;
|
||||
struct node *llink, *rlink;
|
||||
} node_t;
|
||||
#endif
|
||||
|
||||
struct hsearch_data
|
||||
{
|
||||
struct internal_head *htable;
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
/* sys/cdefs.h
|
||||
|
||||
Copyright 1998, 2000, 2001 Red Hat, Inc.
|
||||
|
||||
This file is part of Cygwin.
|
||||
|
||||
This software is a copyrighted work licensed under the terms of the
|
||||
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
||||
details. */
|
||||
|
||||
#ifndef _SYS_CDEFS_H
|
||||
#define _SYS_CDEFS_H
|
||||
#ifdef __cplusplus
|
||||
#define __BEGIN_DECLS extern "C" {
|
||||
#define __END_DECLS }
|
||||
#else
|
||||
#define __BEGIN_DECLS
|
||||
#define __END_DECLS
|
||||
#endif
|
||||
#define __P(protos) protos /* full-blown ANSI C */
|
||||
#define __CONCAT(__x,__y) __x##__y
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue