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 <math.h>
#include <stdlib.h>
#define MAXTOTAL 10000
#define MAXBATCH 10

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -47,6 +47,7 @@
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include "dtscreen.h"
#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)
*/
#include <stdlib.h>
#include "dtscreen.h"
#define TIMES 4 /* number of time positions recorded */

View File

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