projects
/
platform
/
upstream
/
bash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported from ../bash-2.05a.tar.gz.
[platform/upstream/bash.git]
/
lib
/
readline
/
ansi_stdlib.h
diff --git
a/lib/readline/ansi_stdlib.h
b/lib/readline/ansi_stdlib.h
index
3a354f2
..
db13cd2
100644
(file)
--- a/
lib/readline/ansi_stdlib.h
+++ b/
lib/readline/ansi_stdlib.h
@@
-25,14
+25,24
@@
/* String conversion functions. */
extern int atoi ();
/* String conversion functions. */
extern int atoi ();
-extern long int atol ();
extern double atof ();
extern double strtod ();
/* Memory allocation functions. */
extern double atof ();
extern double strtod ();
/* Memory allocation functions. */
-extern char *malloc ();
-extern char *realloc ();
+/* 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 free ();
/* Other miscellaneous functions. */