mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 19:52:20 +00:00
Get rid of malloc.h.
This is a non-POSIX/ISO-C header. It is ok to include this on Linux, but it is obsolete on BSD; FreeBSD even throws an error if you include it with __STDC__ defined. Every system should nowadays have malloc() defined in stdlib.h. Diff is largely mechanical, replacing malloc.h with stdlib.h where it is not yet included anyway.
This commit is contained in:
parent
18a5139d7a
commit
0bbd4ff9aa
146 changed files with 123 additions and 156 deletions
|
@ -67,7 +67,7 @@
|
|||
/* include files */
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <assert.h>
|
||||
|
|
|
@ -85,7 +85,6 @@ static char rcs_id[]="$XConsortium: Graphics.c /main/23 1996/12/06 11:12:54 cde-
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <errno.h>
|
||||
#include <sys/stat.h>
|
||||
#include <X11/Xlib.h>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <setjmp.h>
|
||||
|
|
|
@ -41,8 +41,7 @@ static char version[] = "$XConsortium: ilhplrotation.c /main/3 1995/10/23 15:48:
|
|||
static char vdate[] = "$XConsortium: ilhplrotation.c /main/3 1995/10/23 15:48:35 rswiston $";
|
||||
|
||||
# include <stdio.h>
|
||||
# include <malloc.h>
|
||||
/*# include <stdlib.h> */
|
||||
# include <stdlib.h>
|
||||
# include <math.h>
|
||||
# include <limits.h> /* Get definition of */
|
||||
# include <float.h> /* FLX_MAX */
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <limits.h>
|
||||
#include <string.h>
|
||||
#include <X11/X.h>
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#include <sys/types.h>
|
||||
|
||||
#include <unistd.h>
|
||||
#include <malloc.h>
|
||||
#include <sys/utsname.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/mman.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "DtHash.h"
|
||||
#include "DtShmDb.h"
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/mman.h>
|
||||
#include <malloc.h>
|
||||
#include <string.h>
|
||||
#include "DtHash.h"
|
||||
#include "DtShmDb.h"
|
||||
|
|
|
@ -125,7 +125,7 @@ extern size_t nl_strlen(); /* __OBSOLETE */
|
|||
#if defined(__cplusplus)
|
||||
}
|
||||
|
||||
#if defined(apollo) || defined(__aix) || defined(USL) || defined(__uxp__) || defined(__osf__)
|
||||
#if defined(apollo) || defined(__aix) || defined(USL) || defined(__uxp__) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
|
||||
#include <stdlib.h>
|
||||
#else
|
||||
#include <malloc.h>
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
*/
|
||||
|
||||
#include <EUSCompat.h>
|
||||
#include <malloc.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "rtable2.h"
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
*/
|
||||
|
||||
#include <EUSCompat.h>
|
||||
#include <malloc.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "rtable3.h"
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
*/
|
||||
|
||||
#include <EUSCompat.h>
|
||||
#include <malloc.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "rtable2.h"
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
*/
|
||||
|
||||
#include <EUSCompat.h>
|
||||
#include <malloc.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "rtable3.h"
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <security/pam_appl.h>
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
#include <sys/stat.h>
|
||||
#include <utmpx.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <libintl.h>
|
||||
#include <synch.h>
|
||||
|
|
|
@ -82,7 +82,6 @@ typedef union
|
|||
# define TT_STRING 290
|
||||
# define TT_NUMBER 291
|
||||
|
||||
#include <malloc.h>
|
||||
#include <memory.h>
|
||||
|
||||
#if defined (__hpux)
|
||||
|
|
|
@ -54,7 +54,6 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <sys/param.h>
|
||||
#include <stdlib.h>
|
||||
#include <poll.h>
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "CoEdSiteID.h"
|
||||
|
||||
CoEdSiteID::
|
||||
|
|
|
@ -55,7 +55,6 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <limits.h>
|
||||
#include "CoEdTextVersion.h"
|
||||
#include "CoEdTextChange.h"
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
* connection with the use or performance of this software.
|
||||
*/
|
||||
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <rpc/types.h>
|
||||
#include <rpc/xdr.h>
|
||||
#include <memory.h>
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
#define _API_STORAGE_H
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
#include "util/tt_object.h"
|
||||
#include "util/tt_list.h"
|
||||
|
||||
|
|
|
@ -35,13 +35,10 @@
|
|||
*/
|
||||
|
||||
#include "tt_options.h"
|
||||
#if defined(OPT_BUG_SUNOS_4) && defined(__GNUG__)
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
#include <rpc/rpc.h>
|
||||
#include "api/c/api_xdr.h"
|
||||
#include <mp/mp_xdr_functions.h>
|
||||
#include <malloc.h>
|
||||
|
||||
bool_t
|
||||
_tt_xdr_cstring_list(XDR *xdrs, char ***ar)
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
*/
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "api/c/tt_c.h"
|
||||
#include "ttdnd.h"
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ extern "C" { extern int ioctl (int, int, ...) ; };
|
|||
#include "mp/mp_desktop.h"
|
||||
#include "mp/mp_mp.h"
|
||||
#include <unistd.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "util/tt_gettext.h"
|
||||
|
||||
static int parse_Xdisplay_string(_Tt_string display,
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
#include "api/c/api_error.h"
|
||||
#include <errno.h>
|
||||
#include <sys/resource.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "tt_options.h"
|
||||
|
||||
#if defined(_AIX)
|
||||
|
|
|
@ -101,7 +101,7 @@ typedef union
|
|||
# define _TT_TRACE_LINETERM 280
|
||||
# define _TT_TRACE_PARSE_EOF 281
|
||||
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <memory.h>
|
||||
#include <values.h>
|
||||
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include "util/tt_new.h"
|
||||
|
|
|
@ -41,7 +41,7 @@ static char sccsid[] = "@(#)isalloc.c 1.3 89/07/17 Copyr 1988 Sun Micro";
|
|||
*/
|
||||
|
||||
#include "isam_impl.h"
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
/* strdup is not defined in Ultrix' string.h, so it is implemented in a separate
|
||||
* file named strdup.ultrix.c
|
||||
|
|
|
@ -69,7 +69,6 @@
|
|||
#include <sys/stat.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <assert.h>
|
||||
#include <ab_private/util.h>
|
||||
#include <ab_private/abio.h>
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <malloc.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/param.h>
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
#include <Xm/Xm.h>
|
||||
#include <Xm/Form.h>
|
||||
#include <Xm/LabelG.h>
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
|
||||
#include <EUSCompat.h>
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
#include <ctype.h>
|
||||
#include <sys/param.h>
|
||||
#include <Xm/Xm.h>
|
||||
|
|
|
@ -72,7 +72,7 @@ static char sccsid[] = "@(#)dtfns.c 1.3 94/11/07 Copyr 1993 Sun Microsystems, I
|
|||
#include <rpcsvc/nislib.h>
|
||||
#include <rpcsvc/ypclnt.h>
|
||||
#include <dlfcn.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <fns/fns.h>
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
#include <stdlib.h>
|
||||
#include <limits.h>
|
||||
#include <errno.h>
|
||||
#include <malloc.h>
|
||||
#include <nl_types.h>
|
||||
|
||||
#include <Xm/XmP.h>
|
||||
|
|
|
@ -121,7 +121,7 @@
|
|||
|
||||
#include <errno.h>
|
||||
#include <pwd.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#ifndef sun /* don't need the nl_types.h file */
|
||||
|
|
|
@ -51,7 +51,6 @@
|
|||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
#include <pwd.h>
|
||||
#include <malloc.h>
|
||||
#include <time.h>
|
||||
#ifndef sun /* don't need the nl_types.h file */
|
||||
#include <nl_types.h>
|
||||
|
|
|
@ -27,7 +27,7 @@ static char *version = "$XConsortium: helpcomp.c /main/3 1995/11/08 11:10:34 rsw
|
|||
#include <string.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <dirent.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
/* Build.c contains the main procedure for program BUILD */
|
||||
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
|
|
@ -29,7 +29,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
|
||||
/* Buildult.c contains the main supporting utilities for program BUILD */
|
||||
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "context.h"
|
||||
#include "build.h"
|
||||
#include "delim.h"
|
||||
|
|
|
@ -30,7 +30,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
/* Eltree.c contains procedures that manipulate element names */
|
||||
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "build.h"
|
||||
|
||||
/* Enters an element name into the element name tree */
|
||||
|
|
|
@ -30,7 +30,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
/* Fsa.c contains the procedures used by program BUILD to convert a tree
|
||||
representation of a content model to an FSA */
|
||||
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "build.h"
|
||||
#include "context.h"
|
||||
#include "delim.h"
|
||||
|
|
|
@ -30,7 +30,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
/* Out.c contains the procedures used by program BUILD to output results */
|
||||
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
|
|
@ -29,7 +29,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
|
||||
/* Param.c contains procedures related to parameters for program BUILD */
|
||||
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "build.h"
|
||||
#include "context.h"
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
/* Sref.c contains procedures related to short reference map declarations */
|
||||
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "build.h"
|
||||
#include "sref.h"
|
||||
#include "entdef.h"
|
||||
|
|
|
@ -30,7 +30,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
/* Tree.c has procedures used by BUILD to construct the tree representation
|
||||
of a content model */
|
||||
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "build.h"
|
||||
#include "context.h"
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
|
|
@ -31,7 +31,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "basic.h"
|
||||
#include "trie.h"
|
||||
#include "dtdext.h"
|
||||
|
|
|
@ -33,17 +33,16 @@
|
|||
#define INIT(a)
|
||||
#endif
|
||||
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#if defined(MSDOS)
|
||||
#include <io.h>
|
||||
#include <stdlib.h>
|
||||
#include <process.h>
|
||||
#include <direct.h>
|
||||
#endif
|
||||
#include <ctype.h>
|
||||
|
||||
#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__) || defined(linux)
|
||||
#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__) || defined(linux) || defined(CSRG_BASED)
|
||||
#include <unistd.h>
|
||||
#include <locale.h>
|
||||
#endif
|
||||
|
|
|
@ -31,7 +31,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
in the interface definition.*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
/* Versions of m_free and m_malloc for debugging. */
|
||||
|
||||
/**/
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include "basic.h"
|
||||
#include "trie.h"
|
||||
|
|
|
@ -30,7 +30,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
/* Entity.c contains procedures pertaining to entities */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
|
|
|
@ -30,7 +30,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
/* Util.c contains general utilities for program PARSER */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
|
|
|
@ -31,7 +31,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
|
|
@ -31,7 +31,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "basic.h"
|
||||
#include "trie.h"
|
||||
#include "dtdext.h"
|
||||
|
|
|
@ -31,7 +31,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <locale.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
|
|
|
@ -30,7 +30,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
/* Scan.c is the scanner for program PARSER */
|
||||
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
|
|
|
@ -32,7 +32,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
|
|
@ -156,7 +156,7 @@ delim.h.
|
|||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
|
|
@ -30,7 +30,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
/* Conutil has utility procedures for program CONTEXT. */
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
|
|
@ -35,7 +35,7 @@ with an error code of 0 if the files are the same, 1 if they differ, and
|
|||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
/* Interfaces to free and malloc with optional debugging traces */
|
||||
|
||||
/**/
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
|
|
|
@ -30,7 +30,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
/* Build.c contains the main procedure for program BUILD */
|
||||
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
|
|
@ -29,7 +29,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
|
||||
/* Buildult.c contains the main supporting utilities for program BUILD */
|
||||
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "context.h"
|
||||
#include "build.h"
|
||||
#include "delim.h"
|
||||
|
|
|
@ -30,7 +30,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
/* Eltree.c contains procedures that manipulate element names */
|
||||
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "build.h"
|
||||
|
||||
/* Enters an element name into the element name tree */
|
||||
|
|
|
@ -30,7 +30,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
/* Fsa.c contains the procedures used by program BUILD to convert a tree
|
||||
representation of a content model to an FSA */
|
||||
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "build.h"
|
||||
#include "context.h"
|
||||
#include "delim.h"
|
||||
|
|
|
@ -30,7 +30,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
/* Out.c contains the procedures used by program BUILD to output results */
|
||||
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
|
|
@ -29,7 +29,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
|
||||
/* Param.c contains procedures related to parameters for program BUILD */
|
||||
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "build.h"
|
||||
#include "context.h"
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
/* Sref.c contains procedures related to short reference map declarations */
|
||||
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "build.h"
|
||||
#include "sref.h"
|
||||
#include "entdef.h"
|
||||
|
|
|
@ -30,7 +30,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
/* Tree.c has procedures used by BUILD to construct the tree representation
|
||||
of a content model */
|
||||
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "build.h"
|
||||
#include "context.h"
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
|
|
@ -31,7 +31,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "basic.h"
|
||||
#include "trie.h"
|
||||
#include "dtdext.h"
|
||||
|
|
|
@ -33,12 +33,11 @@
|
|||
#define INIT(a)
|
||||
#endif
|
||||
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#if defined(MSDOS)
|
||||
#include <io.h>
|
||||
#include <stdlib.h>
|
||||
#include <process.h>
|
||||
#include <direct.h>
|
||||
#endif
|
||||
|
|
|
@ -31,7 +31,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
in the interface definition.*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
/* Versions of m_free and m_malloc for debugging. */
|
||||
|
||||
/**/
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include "basic.h"
|
||||
#include "trie.h"
|
||||
|
|
|
@ -30,7 +30,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
/* Entity.c contains procedures pertaining to entities */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
|
|
|
@ -30,7 +30,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
/* Util.c contains general utilities for program PARSER */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
|
|
|
@ -31,7 +31,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "basic.h"
|
||||
#include "trie.h"
|
||||
#include "dtdext.h"
|
||||
|
|
|
@ -31,7 +31,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <locale.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
|
|
|
@ -30,7 +30,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
/* Scan.c is the scanner for program PARSER */
|
||||
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
|
|
|
@ -32,7 +32,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
|
|
@ -156,7 +156,7 @@ delim.h.
|
|||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
|
|
@ -30,7 +30,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
/* Conutil has utility procedures for program CONTEXT. */
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
|
|
@ -35,7 +35,7 @@ with an error code of 0 if the files are the same, 1 if they differ, and
|
|||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
/* Interfaces to free and malloc with optional debugging traces */
|
||||
|
||||
/**/
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
|
|
|
@ -30,7 +30,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
/* Build.c contains the main procedure for program BUILD */
|
||||
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
|
|
@ -29,7 +29,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
|
||||
/* Buildult.c contains the main supporting utilities for program BUILD */
|
||||
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "context.h"
|
||||
#include "build.h"
|
||||
#include "delim.h"
|
||||
|
|
|
@ -30,7 +30,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
/* Eltree.c contains procedures that manipulate element names */
|
||||
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "build.h"
|
||||
|
||||
/* Enters an element name into the element name tree */
|
||||
|
|
|
@ -30,7 +30,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
/* Fsa.c contains the procedures used by program BUILD to convert a tree
|
||||
representation of a content model to an FSA */
|
||||
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "build.h"
|
||||
#include "context.h"
|
||||
#include "delim.h"
|
||||
|
|
|
@ -30,7 +30,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
/* Out.c contains the procedures used by program BUILD to output results */
|
||||
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
|
|
@ -29,7 +29,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
|
||||
/* Param.c contains procedures related to parameters for program BUILD */
|
||||
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "build.h"
|
||||
#include "context.h"
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
/* Sref.c contains procedures related to short reference map declarations */
|
||||
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "build.h"
|
||||
#include "sref.h"
|
||||
#include "entdef.h"
|
||||
|
|
|
@ -30,7 +30,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
/* Tree.c has procedures used by BUILD to construct the tree representation
|
||||
of a content model */
|
||||
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "build.h"
|
||||
#include "context.h"
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
|
|
@ -31,7 +31,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "basic.h"
|
||||
#include "trie.h"
|
||||
#include "dtdext.h"
|
||||
|
|
|
@ -33,12 +33,11 @@
|
|||
#define INIT(a)
|
||||
#endif
|
||||
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#if defined(MSDOS)
|
||||
#include <io.h>
|
||||
#include <stdlib.h>
|
||||
#include <process.h>
|
||||
#include <direct.h>
|
||||
#endif
|
||||
|
|
|
@ -31,7 +31,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
|||
in the interface definition.*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(MSDOS)
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue