DtWidget: Improve portability of Motif interface
authorMarcin Cieslak <saper@saper.info>
Thu, 30 Aug 2012 23:17:48 +0000 (01:17 +0200)
committerJon Trulson <jon@radscan.com>
Fri, 31 Aug 2012 01:43:56 +0000 (19:43 -0600)
commitceb49b9130a385bca4ea1821271d725221b68bf9
tree875e173a7e336871e5bed68284ed10cbff25fb79
parent6e37640f1192e5f3f5aa7b1c21c6f8a9d5d93305
DtWidget: Improve portability of Motif interface

- Add missing includes and prototypes
- Improve type compatibility
- Use <Xm/XmPrivate.h> for unofficial libXm headers

With this patch, dtpad no longer crashes on startup
on FreeBSD/amd64 because of a truncated 64-bit pointer.
14 files changed:
cde/lib/DtWidget/ComboBox.c
cde/lib/DtWidget/Control.c
cde/lib/DtWidget/DialogBox.c
cde/lib/DtWidget/DtSvcInternal.h [new file with mode: 0644]
cde/lib/DtWidget/EditAreaData.c
cde/lib/DtWidget/EditCalls.c
cde/lib/DtWidget/Editor.c
cde/lib/DtWidget/Icon.c
cde/lib/DtWidget/Imakefile
cde/lib/DtWidget/MenuButton.c
cde/lib/DtWidget/NewCvt.c
cde/lib/DtWidget/SearchCalls.c
cde/lib/DtWidget/SpinBox.c
cde/lib/DtWidget/TitleBox.c