diff options
author | Chet Ramey <chet.ramey@case.edu> | 2011-12-07 09:34:43 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2011-12-07 09:34:43 -0500 |
commit | 012bac3904e70af1521e5e38b2022f3d8d27daee (patch) | |
tree | 2cbc6a3c2a913e0791ab71fa83b44aa7180bbf05 /lib/readline/ansi_stdlib.h | |
parent | adeca69c7f011a06e9a8ab38212bf3479b39d6bf (diff) | |
download | bash-012bac3904e70af1521e5e38b2022f3d8d27daee.tar.gz |
commit bash-20081229 snapshot
Diffstat (limited to 'lib/readline/ansi_stdlib.h')
l---------[-rw-r--r--] | lib/readline/ansi_stdlib.h | 55 |
1 files changed, 1 insertions, 54 deletions
diff --git a/lib/readline/ansi_stdlib.h b/lib/readline/ansi_stdlib.h index 7dc2ee0c..0bfba502 100644..120000 --- a/lib/readline/ansi_stdlib.h +++ b/lib/readline/ansi_stdlib.h @@ -1,54 +1 @@ -/* ansi_stdlib.h -- An ANSI Standard stdlib.h. */ -/* A minimal stdlib.h containing extern declarations for those functions - that bash uses. */ - -/* Copyright (C) 1993 Free Software Foundation, Inc. - - This file is part of GNU Bash, the Bourne Again SHell. - - Bash is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - Bash is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with Bash. If not, see <http://www.gnu.org/licenses/>. -*/ - -#if !defined (_STDLIB_H_) -#define _STDLIB_H_ 1 - -/* String conversion functions. */ -extern int atoi (); - -extern double atof (); -extern double strtod (); - -/* Memory allocation functions. */ -/* Generic pointer type. */ -#ifndef PTR_T - -#if defined (__STDC__) -# define PTR_T void * -#else -# define PTR_T char * -#endif - -#endif /* PTR_T */ - -extern PTR_T malloc (); -extern PTR_T realloc (); -extern void free (); - -/* Other miscellaneous functions. */ -extern void abort (); -extern void exit (); -extern char *getenv (); -extern void qsort (); - -#endif /* _STDLIB_H */ +../../include/ansi_stdlib.h
\ No newline at end of file |