* chardefs.h: Don't declare xmalloc.
authorJim Kingdon <jkingdon@engr.sgi.com>
Sun, 16 Jan 1994 18:48:02 +0000 (18:48 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Sun, 16 Jan 1994 18:48:02 +0000 (18:48 +0000)
* keymaps.h: Include "chardefs.h" not <readline/chardefs.h>.

readline/ChangeLog
readline/chardefs.h

index a5e83f4bd5a408872809edc5bbb7500b070d3dd5..365bde8fef1f7bb8ff84962c980457b8c0d4e01b 100644 (file)
@@ -1,5 +1,9 @@
 Sun Jan 16 12:33:11 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
+       * chardefs.h: Don't declare xmalloc.
+
+       * keymaps.h: Include "chardefs.h" not <readline/chardefs.h>.
+
        * Makefile.in (clean mostlyclean distclean realclean): Recurse
        into subdirectories as well as doing this directory.  Add clean-dvi
        target.
index 43d8539c79c4ce9b0ee516b1b91c79aa10c44410..241567ea3fd1307e357ed9a0ecc2e77814f02b60 100644 (file)
 #endif /* HAVE_STRING_H */
 
 #ifndef savestring
+#if 0
+
+/* CYGNUS LOCAL--this declaration loses if xmalloc has already been
+   declared as void *xmalloc (), as in GDB.  The whole concept of
+   readline using xmalloc rather than just returning NULL when it runs
+   out of memory is questionable, but if we do want xmalloc we need a
+   better way to declare it (e.g. the client declares it, or the client
+   calls a rl_register_xmalloc function analagous to the way signal()
+   works.  */
+
 extern char *xmalloc ();
+#endif
 #  ifndef strcpy
 extern char *strcpy ();
 #  endif
This page took 0.02753 seconds and 4 git commands to generate.