mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
(__need_error_t): New macro, before including <errno.h>. [!__const] (__const): New macro. [!__error_t_defined] (error_t): New typedef.
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
/* Routines for dealing with '\0' separated arg vectors.
|
/* Routines for dealing with '\0' separated arg vectors.
|
||||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||||
Written by Miles Bader <miles@gnu.ai.mit.edu>
|
Written by Miles Bader <miles@gnu.ai.mit.edu>
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -22,9 +22,18 @@
|
|||||||
#define __ARGZ_H__ 1
|
#define __ARGZ_H__ 1
|
||||||
#include <features.h>
|
#include <features.h>
|
||||||
|
|
||||||
#include <errno.h> /* Define error_t. */
|
#define __need_error_t
|
||||||
|
#include <errno.h>
|
||||||
#include <string.h> /* Need size_t, and strchr is called below. */
|
#include <string.h> /* Need size_t, and strchr is called below. */
|
||||||
|
|
||||||
|
#ifndef __const
|
||||||
|
#define __const const
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef __error_t_defined
|
||||||
|
typedef int error_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user