Get rid of malloc.h.
authorPascal Stumpf <Pascal.Stumpf@cubes.de>
Sun, 12 Aug 2012 14:41:42 +0000 (16:41 +0200)
committerJon Trulson <jon@radscan.com>
Sun, 12 Aug 2012 20:20:58 +0000 (14:20 -0600)
commit0bbd4ff9aa6be56a592e7d266b878f66e27b1afc
treeae6d6ce6f686e3daa3a1cbcfa94e2616558c4b16
parent18a5139d7af73c7f97083dfea993474eda85d511
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.
146 files changed:
cde/lib/DtHelp/GifUtils.c
cde/lib/DtHelp/Graphics.c
cde/lib/DtHelp/JpegUtils.c
cde/lib/DtHelp/il/ilhplrotation.c
cde/lib/DtSvc/DtUtil1/DbReader.c
cde/lib/DtSvc/DtUtil1/MMDb.c
cde/lib/DtSvc/DtUtil1/intarray.c
cde/lib/DtSvc/DtUtil1/inttab.c
cde/lib/DtSvc/include/codelibs/stringx.h
cde/lib/csa/convert2-4.c
cde/lib/csa/convert3-4.c
cde/lib/csa/convert4-2.c
cde/lib/csa/convert4-3.c
cde/lib/pam/libpam/pam_framework.c
cde/lib/pam/libpam/pam_framework_utils.c
cde/lib/tt/bin/tt_type_comp/frozen.mp_types_gram.C
cde/lib/tt/demo/CoEd/libCoEd/CoEdFile.C
cde/lib/tt/demo/CoEd/libCoEd/CoEdSiteID.C
cde/lib/tt/demo/CoEd/libCoEd/CoEdTextChange.C
cde/lib/tt/demo/CoEd/libCoEd/SiteChange.C
cde/lib/tt/lib/api/c/api_storage.h
cde/lib/tt/lib/api/c/api_xdr.C
cde/lib/tt/lib/api/dnd/ttdnd.c
cde/lib/tt/lib/mp/mp_desktop.C
cde/lib/tt/lib/mp/mp_mp.C
cde/lib/tt/lib/util/frozen.tt_trace_gram.c
cde/lib/tt/lib/util/tt_new.C
cde/lib/tt/mini_isam/isalloc.c
cde/programs/dtappbuilder/src/libAButil/abio.c
cde/programs/dtcalc/calctool.c
cde/programs/dtcm/dtcm/props.c
cde/programs/dtcm/dtcm/props_pu.c
cde/programs/dtcm/libDtCmP/dtfns.c
cde/programs/dtfile/HelpCB.c
cde/programs/dtfile/Main.c
cde/programs/dtfile/SharedMsgs.c
cde/programs/dthelp/parser.ccdf/helpcomp/helpcomp.c
cde/programs/dthelp/parser.ccdf/htag/build/build.c
cde/programs/dthelp/parser.ccdf/htag/build/buildutl.c
cde/programs/dthelp/parser.ccdf/htag/build/eltree.c
cde/programs/dthelp/parser.ccdf/htag/build/fsa.c
cde/programs/dthelp/parser.ccdf/htag/build/out.c
cde/programs/dthelp/parser.ccdf/htag/build/param.c
cde/programs/dthelp/parser.ccdf/htag/build/sref.c
cde/programs/dthelp/parser.ccdf/htag/build/tree.c
cde/programs/dthelp/parser.ccdf/htag/eltdef/eltdef.c
cde/programs/dthelp/parser.ccdf/htag/eltdef/eltutil.c
cde/programs/dthelp/parser.ccdf/htag/eltdef/entity.c
cde/programs/dthelp/parser.ccdf/htag/helptag/global.h
cde/programs/dthelp/parser.ccdf/htag/parser/actutil.c
cde/programs/dthelp/parser.ccdf/htag/parser/delfree.c
cde/programs/dthelp/parser.ccdf/htag/parser/entity.c
cde/programs/dthelp/parser.ccdf/htag/parser/error.c
cde/programs/dthelp/parser.ccdf/htag/parser/param.c
cde/programs/dthelp/parser.ccdf/htag/parser/parser.c
cde/programs/dthelp/parser.ccdf/htag/parser/parutil.c
cde/programs/dthelp/parser.ccdf/htag/parser/scan.c
cde/programs/dthelp/parser.ccdf/htag/parser/struct.c
cde/programs/dthelp/parser.ccdf/htag/util/context.c
cde/programs/dthelp/parser.ccdf/htag/util/conutil.c
cde/programs/dthelp/parser.ccdf/htag/util/fclndir.c
cde/programs/dthelp/parser.ccdf/htag/util/malloc.c
cde/programs/dthelp/parser/canon1/build/build.c
cde/programs/dthelp/parser/canon1/build/buildutl.c
cde/programs/dthelp/parser/canon1/build/eltree.c
cde/programs/dthelp/parser/canon1/build/fsa.c
cde/programs/dthelp/parser/canon1/build/out.c
cde/programs/dthelp/parser/canon1/build/param.c
cde/programs/dthelp/parser/canon1/build/sref.c
cde/programs/dthelp/parser/canon1/build/tree.c
cde/programs/dthelp/parser/canon1/eltdef/eltdef.c
cde/programs/dthelp/parser/canon1/eltdef/eltutil.c
cde/programs/dthelp/parser/canon1/eltdef/entity.c
cde/programs/dthelp/parser/canon1/helptag/global.h
cde/programs/dthelp/parser/canon1/parser/actutil.c
cde/programs/dthelp/parser/canon1/parser/delfree.c
cde/programs/dthelp/parser/canon1/parser/entity.c
cde/programs/dthelp/parser/canon1/parser/error.c
cde/programs/dthelp/parser/canon1/parser/param.c
cde/programs/dthelp/parser/canon1/parser/parser.c
cde/programs/dthelp/parser/canon1/parser/parutil.c
cde/programs/dthelp/parser/canon1/parser/scan.c
cde/programs/dthelp/parser/canon1/parser/struct.c
cde/programs/dthelp/parser/canon1/util/context.c
cde/programs/dthelp/parser/canon1/util/conutil.c
cde/programs/dthelp/parser/canon1/util/fclndir.c
cde/programs/dthelp/parser/canon1/util/malloc.c
cde/programs/dthelp/parser/pass1/build/build.c
cde/programs/dthelp/parser/pass1/build/buildutl.c
cde/programs/dthelp/parser/pass1/build/eltree.c
cde/programs/dthelp/parser/pass1/build/fsa.c
cde/programs/dthelp/parser/pass1/build/out.c
cde/programs/dthelp/parser/pass1/build/param.c
cde/programs/dthelp/parser/pass1/build/sref.c
cde/programs/dthelp/parser/pass1/build/tree.c
cde/programs/dthelp/parser/pass1/eltdef/eltdef.c
cde/programs/dthelp/parser/pass1/eltdef/eltutil.c
cde/programs/dthelp/parser/pass1/eltdef/entity.c
cde/programs/dthelp/parser/pass1/helptag/global.h
cde/programs/dthelp/parser/pass1/parser/actutil.c
cde/programs/dthelp/parser/pass1/parser/delfree.c
cde/programs/dthelp/parser/pass1/parser/entity.c
cde/programs/dthelp/parser/pass1/parser/error.c
cde/programs/dthelp/parser/pass1/parser/param.c
cde/programs/dthelp/parser/pass1/parser/parser.c
cde/programs/dthelp/parser/pass1/parser/parutil.c
cde/programs/dthelp/parser/pass1/parser/scan.c
cde/programs/dthelp/parser/pass1/parser/struct.c
cde/programs/dthelp/parser/pass1/util/context.c
cde/programs/dthelp/parser/pass1/util/conutil.c
cde/programs/dthelp/parser/pass1/util/fclndir.c
cde/programs/dthelp/parser/pass1/util/malloc.c
cde/programs/dthelp/parser/pass2/build/build.c
cde/programs/dthelp/parser/pass2/build/buildutl.c
cde/programs/dthelp/parser/pass2/build/eltree.c
cde/programs/dthelp/parser/pass2/build/fsa.c
cde/programs/dthelp/parser/pass2/build/out.c
cde/programs/dthelp/parser/pass2/build/param.c
cde/programs/dthelp/parser/pass2/build/sref.c
cde/programs/dthelp/parser/pass2/build/tree.c
cde/programs/dthelp/parser/pass2/eltdef/eltdef.c
cde/programs/dthelp/parser/pass2/eltdef/eltutil.c
cde/programs/dthelp/parser/pass2/eltdef/entity.c
cde/programs/dthelp/parser/pass2/htag2/global.h
cde/programs/dthelp/parser/pass2/parser/actutil.c
cde/programs/dthelp/parser/pass2/parser/delfree.c
cde/programs/dthelp/parser/pass2/parser/entity.c
cde/programs/dthelp/parser/pass2/parser/error.c
cde/programs/dthelp/parser/pass2/parser/param.c
cde/programs/dthelp/parser/pass2/parser/parser.c
cde/programs/dthelp/parser/pass2/parser/parutil.c
cde/programs/dthelp/parser/pass2/parser/scan.c
cde/programs/dthelp/parser/pass2/parser/struct.c
cde/programs/dthelp/parser/pass2/util/context.c
cde/programs/dthelp/parser/pass2/util/conutil.c
cde/programs/dthelp/parser/pass2/util/fclndir.c
cde/programs/dthelp/parser/pass2/util/malloc.c
cde/programs/dtinfo/DtMmdb/dti_excs/Exceptions.hh
cde/programs/dtinfo/dtinfo/src/Basic/ParseTree.C
cde/programs/dtinfo/dtinfo/src/cgm/cgm.h
cde/programs/dtinfo/dtinfo/src/external-api/comm.c
cde/programs/dtksh/dtksh.c
cde/programs/dtksh/xmcmds.c
cde/programs/dtmail/dtmail/MsgHndArray.hh
cde/programs/dtmail/libDtMail/Common/Buffer.C
cde/programs/dtmail/libDtMail/Common/Session.C