diff options
author | Matt Turner <mattst88@gmail.com> | 2011-08-02 00:30:15 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2011-08-02 00:30:15 -0400 |
commit | 9edc780fc72c1dac9a1d9385cc74abf487a5d1bd (patch) | |
tree | a974dabbcd9a501258ee6af0d52fc78e7d4e155d /src | |
parent | 017fcf81745d7a58a57a040fce86063719431f60 (diff) |
Fix implicit function declarations.
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/MultiSink.c | 1 | ||||
-rw-r--r-- | src/Panner.c | 2 | ||||
-rw-r--r-- | src/Text.c | 1 | ||||
-rw-r--r-- | src/TextAction.c | 1 | ||||
-rw-r--r-- | src/ThreeD.c | 1 | ||||
-rw-r--r-- | src/XawI18n.c | 2 | ||||
-rw-r--r-- | src/XawI18n.h | 8 | ||||
-rw-r--r-- | src/XawIm.c | 2 |
8 files changed, 14 insertions, 4 deletions
diff --git a/src/MultiSink.c b/src/MultiSink.c index 6b79cfa..8d91d94 100644 --- a/src/MultiSink.c +++ b/src/MultiSink.c @@ -79,6 +79,7 @@ SOFTWARE. #include <X11/Xaw3d/TextP.h> #include "XawI18n.h" #include <stdio.h> +#include <stdlib.h> #include <ctype.h> #ifdef GETLASTPOS diff --git a/src/Panner.c b/src/Panner.c index 3c454d7..fce1781 100644 --- a/src/Panner.c +++ b/src/Panner.c @@ -34,7 +34,7 @@ in this Software without prior written authorization from the X Consortium. #include <X11/Xmu/Misc.h> /* for Min */ #include <X11/Xmu/Drawing.h> #include <ctype.h> /* for isascii() etc. */ -#include <math.h> /* for atof() */ +#include <stdlib.h> /* for atof() */ extern Bool XmuDistinguishablePixels(); /* not defined in any Xmu headers */ @@ -56,6 +56,7 @@ SOFTWARE. #include "XawI18n.h" #endif #include <stdio.h> +#include <stdlib.h> #include <X11/Xmu/Atoms.h> #include <X11/Xmu/CharSet.h> #include <X11/Xmu/Converters.h> diff --git a/src/TextAction.c b/src/TextAction.c index e540ba1..82abd4e 100644 --- a/src/TextAction.c +++ b/src/TextAction.c @@ -43,6 +43,7 @@ in this Software without prior written authorization from the X Consortium. #include "XawI18n.h" #endif #include <stdio.h> +#include <stdlib.h> #include <ctype.h> #define SrcScan XawTextSourceScan diff --git a/src/ThreeD.c b/src/ThreeD.c index de9d4ac..e137e82 100644 --- a/src/ThreeD.c +++ b/src/ThreeD.c @@ -35,6 +35,7 @@ SOFTWARE. #include <X11/Xaw3d/XawInit.h> #include <X11/Xaw3d/ThreeDP.h> #include <X11/Xosdefs.h> +#include <X11/Xmu/CharSet.h> /* Initialization of defaults */ diff --git a/src/XawI18n.c b/src/XawI18n.c index 021aaf9..0a8bc30 100644 --- a/src/XawI18n.c +++ b/src/XawI18n.c @@ -53,6 +53,8 @@ in this Software without prior written authorization from the X Consortium. */ +#include <stdio.h> +#include <stdlib.h> #include <X11/IntrinsicP.h> #include "XawI18n.h" diff --git a/src/XawI18n.h b/src/XawI18n.h index 70ae4e2..4c22717 100644 --- a/src/XawI18n.h +++ b/src/XawI18n.h @@ -25,15 +25,17 @@ in this Software without prior written authorization from the X Consortium. ********************************************************/ -#ifdef HAS_WCTYPE_H +#ifdef HAVE_WCTYPE_H #include <wctype.h> +#ifdef HAVE_WIDEC_H #include <widec.h> +#endif #define wcslen(c) wslen(c) #define wcscpy(d,s) wscpy(d,s) #define wcsncpy(d,s,l) wsncpy(d,s,l) #endif -#ifdef HAS_WCHAR_H +#ifdef HAVE_WCHAR_H #include <wchar.h> #endif @@ -68,7 +70,7 @@ extern wchar_t _Xaw_atowc ( #endif ); -#ifndef HAS_ISW_FUNCS +#ifndef HAVE_ISW_FUNCS #include <ctype.h> #ifndef iswspace #define iswspace(c) (isascii(c) && isspace(toascii(c))) diff --git a/src/XawIm.c b/src/XawIm.c index c29099c..0fa1c16 100644 --- a/src/XawIm.c +++ b/src/XawIm.c @@ -62,6 +62,8 @@ in this Software without prior written authorization from the X Consortium. #include <X11/Xaw3d/MultiSinkP.h> #include <X11/Xaw3d/XawImP.h> #include <X11/Xaw3d/VendorEP.h> +#include <X11/ResourceI.h> +#include <X11/VarargsI.h> #include "XawI18n.h" #include <ctype.h> |