1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 11:42:21 +00:00

dtscreen: include stdlib where appropriate

Signed-off-by: Robert Tomsick <robert@tomsick.net>
This commit is contained in:
Robert Tomsick 2012-08-08 23:10:02 -04:00 committed by Jon Trulson
parent c12927e208
commit ab926254fd
9 changed files with 11 additions and 1 deletions

View file

@ -44,6 +44,7 @@
#include "dtscreen.h" #include "dtscreen.h"
#include <math.h> #include <math.h>
#include <stdlib.h>
#define MAXTOTAL 10000 #define MAXTOTAL 10000
#define MAXBATCH 10 #define MAXBATCH 10

View file

@ -52,6 +52,7 @@
#include "dtscreen.h" #include "dtscreen.h"
#include <math.h> #include <math.h>
#include <stdlib.h>
typedef struct { typedef struct {
int centerx; int centerx;

View file

@ -42,6 +42,7 @@
#include "dtscreen.h" #include "dtscreen.h"
#include "xlogo.bit" #include "xlogo.bit"
#include <stdlib.h>
static XImage logo = { static XImage logo = {
0, 0, /* width, height */ 0, 0, /* width, height */

View file

@ -47,6 +47,7 @@
#include "dtscreen.h" #include "dtscreen.h"
#include "lifeicon.bit" #include "lifeicon.bit"
#include <stdlib.h>
static XImage logo = { static XImage logo = {
0, 0, /* width, height */ 0, 0, /* width, height */

View file

@ -50,6 +50,8 @@
#include "dtscreen.h" #include "dtscreen.h"
#include <math.h> #include <math.h>
#include <stdlib.h>
#define TWOPI 6.2831853 #define TWOPI 6.2831853
/* Define this >1 to get small rectangles instead of points */ /* Define this >1 to get small rectangles instead of points */

View file

@ -49,6 +49,7 @@
*/ */
#include "dtscreen.h" #include "dtscreen.h"
#include <stdlib.h>
typedef struct { typedef struct {
int x; int x;

View file

@ -47,6 +47,7 @@
#include <stdio.h> #include <stdio.h>
#include <math.h> #include <math.h>
#include <stdlib.h>
#include "dtscreen.h" #include "dtscreen.h"
#define SAVE 100 /* this is a good constant to tweak */ #define SAVE 100 /* this is a good constant to tweak */

View file

@ -38,6 +38,7 @@
* 31-Aug-90: Adapted from xswarm by Jeff Butterworth. (butterwo@ncsc.org) * 31-Aug-90: Adapted from xswarm by Jeff Butterworth. (butterwo@ncsc.org)
*/ */
#include <stdlib.h>
#include "dtscreen.h" #include "dtscreen.h"
#define TIMES 4 /* number of time positions recorded */ #define TIMES 4 /* number of time positions recorded */

View file

@ -53,7 +53,8 @@
*/ */
#include "dtscreen.h" #include "dtscreen.h"
#include <math.h> #include <math.h>
#include <stdlib.h>
#define MAXCOLORS 64 #define MAXCOLORS 64
#define MAXWORMS 64 #define MAXWORMS 64