summaryrefslogtreecommitdiffstats
path: root/contrib/texinfo/makeinfo
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1999-01-15 12:38:11 +0000
committermarkm <markm@FreeBSD.org>1999-01-15 12:38:11 +0000
commitfe682c3b7e04a958bff9f56350c22b44e84da5ee (patch)
tree0080f2ce8091e93a2cf9028570be347bc5b36c31 /contrib/texinfo/makeinfo
parentabf647635202c5cde9137674da6019be021ca46e (diff)
downloadFreeBSD-src-fe682c3b7e04a958bff9f56350c22b44e84da5ee.zip
FreeBSD-src-fe682c3b7e04a958bff9f56350c22b44e84da5ee.tar.gz
Fix CVS merge breakage.
Diffstat (limited to 'contrib/texinfo/makeinfo')
-rw-r--r--contrib/texinfo/makeinfo/makeinfo.c47
1 files changed, 0 insertions, 47 deletions
diff --git a/contrib/texinfo/makeinfo/makeinfo.c b/contrib/texinfo/makeinfo/makeinfo.c
index d709db4..4f05fe7 100644
--- a/contrib/texinfo/makeinfo/makeinfo.c
+++ b/contrib/texinfo/makeinfo/makeinfo.c
@@ -1151,53 +1151,6 @@ print_version_info ()
printf ("makeinfo (GNU %s %s) %d.%d\n", PACKAGE, VERSION,
major_version, minor_version);
}
-
-/* **************************************************************** */
-/* */
-/* Generic Utilities */
-/* */
-/* **************************************************************** */
-
-static void
-memory_error (callers_name, bytes_wanted)
- char *callers_name;
- int bytes_wanted;
-{
- char printable_string[80];
-
- sprintf (printable_string,
- "Virtual memory exhausted in %s ()! Needed %d bytes.",
- callers_name, bytes_wanted);
-
- error (printable_string);
- abort ();
-}
-
-/* Just like malloc, but kills the program in case of fatal error. */
-void *
-xmalloc (nbytes)
- unsigned int nbytes;
-{
- void *temp = (void *) malloc (nbytes);
-
- if (nbytes && temp == (void *)NULL)
- memory_error ("xmalloc", nbytes);
-
- return (temp);
-}
-
-/* Like realloc (), but barfs if there isn't enough memory. */
-void *
-xrealloc (pointer, nbytes)
- void *pointer;
- unsigned int nbytes;
-{
- void *temp;
-
- if (!pointer)
- temp = (void *)xmalloc (nbytes);
- else
- temp = (void *)realloc (pointer, nbytes);
if (nbytes && temp == (void *)NULL)
memory_error ("xrealloc", nbytes);
OpenPOWER on IntegriCloud