diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2009-04-28 00:42:20 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2009-04-28 00:42:20 -0700 |
commit | e8339209da811f5f207cf39f04ab5166802e1985 (patch) | |
tree | 93d47870e438ca639d030aa9211177f1996ed02b /xts5/src | |
parent | 512e564738e10178a21a2682ce329da0fe4be25f (diff) |
Kill implicit declaration warnings for standard C API
Diffstat (limited to 'xts5/src')
-rw-r--r-- | xts5/src/lib/block.c | 1 | ||||
-rw-r--r-- | xts5/src/lib/checkarea.c | 2 | ||||
-rw-r--r-- | xts5/src/lib/checkimg.c | 2 | ||||
-rw-r--r-- | xts5/src/lib/err.c | 1 | ||||
-rw-r--r-- | xts5/src/lib/ex_startup.c | 9 | ||||
-rw-r--r-- | xts5/src/lib/lookupname.c | 14 | ||||
-rw-r--r-- | xts5/src/lib/nextvinf.c | 9 | ||||
-rw-r--r-- | xts5/src/lib/regid.c | 8 | ||||
-rw-r--r-- | xts5/src/lib/report.c | 7 | ||||
-rw-r--r-- | xts5/src/lib/settimeout.c | 1 | ||||
-rw-r--r-- | xts5/src/libXtmu/DisplayQue.c | 1 | ||||
-rw-r--r-- | xts5/src/libXtmu/LocBitmap.c | 2 | ||||
-rw-r--r-- | xts5/src/xim/nextlclmod.c | 11 | ||||
-rw-r--r-- | xts5/src/xim/nextlocale.c | 18 | ||||
-rw-r--r-- | xts5/src/xim/nxtfontset.c | 9 | ||||
-rw-r--r-- | xts5/src/xim/response.c | 22 |
16 files changed, 67 insertions, 50 deletions
diff --git a/xts5/src/lib/block.c b/xts5/src/lib/block.c index ee12fcf0..52c5b938 100644 --- a/xts5/src/lib/block.c +++ b/xts5/src/lib/block.c @@ -116,6 +116,7 @@ purpose. It is provided "as is" without express or implied warranty. #include "tet_api.h" #include <setjmp.h> #include <stdio.h> +#include <stdlib.h> #include <signal.h> #include <unistd.h> diff --git a/xts5/src/lib/checkarea.c b/xts5/src/lib/checkarea.c index bd4fd126..ddd3d88b 100644 --- a/xts5/src/lib/checkarea.c +++ b/xts5/src/lib/checkarea.c @@ -109,6 +109,8 @@ makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. */ +#include <stdlib.h> +#include <stdio.h> #include "xtest.h" #include "X11/Xlib.h" #include "X11/Xutil.h" diff --git a/xts5/src/lib/checkimg.c b/xts5/src/lib/checkimg.c index a0e67de3..eea96607 100644 --- a/xts5/src/lib/checkimg.c +++ b/xts5/src/lib/checkimg.c @@ -109,6 +109,8 @@ makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. */ +#include <stdlib.h> +#include <stdio.h> #include "xtest.h" #include "X11/Xlib.h" #include "X11/Xutil.h" diff --git a/xts5/src/lib/err.c b/xts5/src/lib/err.c index 3226c107..bd15a655 100644 --- a/xts5/src/lib/err.c +++ b/xts5/src/lib/err.c @@ -110,6 +110,7 @@ purpose. It is provided "as is" without express or implied warranty. */ +#include <stdlib.h> #include <unistd.h> #include "xtest.h" #include "tet_api.h" diff --git a/xts5/src/lib/ex_startup.c b/xts5/src/lib/ex_startup.c index bdbe7945..4d95614d 100644 --- a/xts5/src/lib/ex_startup.c +++ b/xts5/src/lib/ex_startup.c @@ -112,12 +112,13 @@ makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. */ -#include "unistd.h" -#include "string.h" +#include <stdlib.h> +#include <unistd.h> +#include <string.h> #include "tet_api.h" #include "xtest.h" -#include "X11/Xlib.h" -#include "X11/Xutil.h" +#include <X11/Xlib.h> +#include <X11/Xutil.h> #include "xtestlib.h" #include "pixval.h" diff --git a/xts5/src/lib/lookupname.c b/xts5/src/lib/lookupname.c index bce1ff66..6e2410ad 100644 --- a/xts5/src/lib/lookupname.c +++ b/xts5/src/lib/lookupname.c @@ -112,16 +112,18 @@ makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. */ +#include <stdlib.h> +#include <stdio.h> +#include <string.h> #include "xtest.h" -#include "X11/Xlib.h" -#include "X11/Xproto.h" +#include <X11/Xlib.h> +#include <X11/Xproto.h> #ifdef INPUTEXTENSION -#include "X11/extensions/XIproto.h" +#include <X11/extensions/XIproto.h> #endif -#include "X11/Xutil.h" -#include "X11/Xatom.h" +#include <X11/Xutil.h> +#include <X11/Xatom.h> #include "xtestlib.h" -#include "stdlib.h" #ifdef INPUTEXTENSION #define XInputNumErrors 5 diff --git a/xts5/src/lib/nextvinf.c b/xts5/src/lib/nextvinf.c index c74f8675..2537c288 100644 --- a/xts5/src/lib/nextvinf.c +++ b/xts5/src/lib/nextvinf.c @@ -117,14 +117,15 @@ purpose. It is provided "as is" without express or implied warranty. * on the screen under test. */ +#include <string.h> +#include <stdlib.h> +#include <stdio.h> #include "xtest.h" -#include "X11/Xlib.h" -#include "X11/Xutil.h" +#include <X11/Xlib.h> +#include <X11/Xutil.h> #include "xtestlib.h" #include "tet_api.h" #include "pixval.h" -#include <string.h> -#include <stdlib.h> Display *Dsp; diff --git a/xts5/src/lib/regid.c b/xts5/src/lib/regid.c index 297eda8c..c3b71805 100644 --- a/xts5/src/lib/regid.c +++ b/xts5/src/lib/regid.c @@ -109,11 +109,11 @@ makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. */ -#include "stdlib.h" - +#include <stdlib.h> +#include <stdio.h> #include "xtest.h" -#include "X11/Xlib.h" -#include "X11/Xutil.h" +#include <X11/Xlib.h> +#include <X11/Xutil.h> #include "xtestlib.h" #include "tet_api.h" #include "pixval.h" diff --git a/xts5/src/lib/report.c b/xts5/src/lib/report.c index 25c508fd..a1a653ad 100644 --- a/xts5/src/lib/report.c +++ b/xts5/src/lib/report.c @@ -128,10 +128,11 @@ purpose. It is provided "as is" without express or implied warranty. * Path trace line. */ -#include "stdio.h" +#include <stdio.h> +#include <string.h> #include "xtest.h" -#include "X11/Xlib.h" -#include "X11/Xutil.h" +#include <X11/Xlib.h> +#include <X11/Xutil.h> #include "xtestlib.h" #include "tet_api.h" diff --git a/xts5/src/lib/settimeout.c b/xts5/src/lib/settimeout.c index ddcd759f..fef61adb 100644 --- a/xts5/src/lib/settimeout.c +++ b/xts5/src/lib/settimeout.c @@ -106,6 +106,7 @@ makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. */ +#include <stdlib.h> #include "xtest.h" #include <signal.h> diff --git a/xts5/src/libXtmu/DisplayQue.c b/xts5/src/libXtmu/DisplayQue.c index eeb19846..228e6a17 100644 --- a/xts5/src/libXtmu/DisplayQue.c +++ b/xts5/src/libXtmu/DisplayQue.c @@ -87,6 +87,7 @@ SOFTWARE. * Author: Jim Fulton, MIT X Consortium */ +#include <stdlib.h> #include <stdio.h> #include <X11/Xos.h> #include <X11/Xlib.h> diff --git a/xts5/src/libXtmu/LocBitmap.c b/xts5/src/libXtmu/LocBitmap.c index edfa6ca7..bd433549 100644 --- a/xts5/src/libXtmu/LocBitmap.c +++ b/xts5/src/libXtmu/LocBitmap.c @@ -84,6 +84,8 @@ SOFTWARE. * Author: Jim Fulton, MIT X Consortium */ +#include <stdlib.h> +#include <string.h> #include <X11/Xlib.h> #include <X11/Xresource.h> #include <X11/Xutil.h> diff --git a/xts5/src/xim/nextlclmod.c b/xts5/src/xim/nextlclmod.c index f6f415e3..c95d3d36 100644 --- a/xts5/src/xim/nextlclmod.c +++ b/xts5/src/xim/nextlclmod.c @@ -127,16 +127,17 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. * Functions to cycle through all the locale modifiers that are supported. */ +#include <stdlib.h> +#include <stdio.h> +#include <string.h> #include "xtest.h" -#include "X11/Xlib.h" -#include "X11/Xutil.h" -#include "X11/Xresource.h" +#include <X11/Xlib.h> +#include <X11/Xutil.h> +#include <X11/Xresource.h> #include "xtestlib.h" #include "tet_api.h" #include "pixval.h" -#include <string.h> #include "ximtest.h" -#include <stdlib.h> Display *Dsp; diff --git a/xts5/src/xim/nextlocale.c b/xts5/src/xim/nextlocale.c index dcd34dd5..7b46d71f 100644 --- a/xts5/src/xim/nextlocale.c +++ b/xts5/src/xim/nextlocale.c @@ -131,16 +131,16 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. * Functions to cycle through all the locales that are supported. */ +#include <stdio.h> +#include <string.h> #include <locale.h> - -#include "xtest.h" -#include "X11/Xlib.h" -#include "X11/Xutil.h" -#include "X11/Xresource.h" -#include "xtestlib.h" -#include "tet_api.h" -#include "pixval.h" -#include <string.h> +#include "xtest.h" +#include <X11/Xlib.h> +#include <X11/Xutil.h> +#include <X11/Xresource.h> +#include "xtestlib.h" +#include "tet_api.h" +#include "pixval.h" #include "ximtest.h" Display *Dsp; diff --git a/xts5/src/xim/nxtfontset.c b/xts5/src/xim/nxtfontset.c index 1e2d20a7..e9ee4aba 100644 --- a/xts5/src/xim/nxtfontset.c +++ b/xts5/src/xim/nxtfontset.c @@ -128,15 +128,16 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. * Functions to cycle through all the fontsets specified by the user. */ +#include <stdlib.h> +#include <stdio.h> +#include <string.h> #include "xtest.h" -#include "X11/Xlib.h" -#include "X11/Xutil.h" +#include <X11/Xlib.h> +#include <X11/Xutil.h> #include "xtestlib.h" #include "tet_api.h" #include "pixval.h" -#include <string.h> #include "ximtest.h" -#include <stdlib.h> Display *Dsp; diff --git a/xts5/src/xim/response.c b/xts5/src/xim/response.c index 5201d4dd..040dccbb 100644 --- a/xts5/src/xim/response.c +++ b/xts5/src/xim/response.c @@ -125,17 +125,17 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include <stdio.h> -#include <string.h> - -#include "xtest.h" -#include "X11/Xlib.h" -#include "X11/Xutil.h" -#include "X11/Xresource.h" -#include "xtestlib.h" -#include "tet_api.h" -#include "pixval.h" -#include "ximtest.h" +#include <stdlib.h> +#include <stdio.h> +#include <string.h> +#include "xtest.h" +#include <X11/Xlib.h> +#include <X11/Xutil.h> +#include <X11/Xresource.h> +#include "xtestlib.h" +#include "tet_api.h" +#include "pixval.h" +#include "ximtest.h" extern Display *Dsp; |