dtscreen: include stdlib where appropriate
Signed-off-by: Robert Tomsick <robert@tomsick.net>
This commit is contained in:
committed by
Jon Trulson
parent
c12927e208
commit
ab926254fd
@@ -44,6 +44,7 @@
|
||||
|
||||
#include "dtscreen.h"
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#define MAXTOTAL 10000
|
||||
#define MAXBATCH 10
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
|
||||
#include "dtscreen.h"
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
typedef struct {
|
||||
int centerx;
|
||||
|
||||
@@ -42,6 +42,7 @@
|
||||
|
||||
#include "dtscreen.h"
|
||||
#include "xlogo.bit"
|
||||
#include <stdlib.h>
|
||||
|
||||
static XImage logo = {
|
||||
0, 0, /* width, height */
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
|
||||
#include "dtscreen.h"
|
||||
#include "lifeicon.bit"
|
||||
#include <stdlib.h>
|
||||
|
||||
static XImage logo = {
|
||||
0, 0, /* width, height */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -49,6 +49,7 @@
|
||||
*/
|
||||
|
||||
#include "dtscreen.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
typedef struct {
|
||||
int x;
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -53,7 +53,8 @@
|
||||
*/
|
||||
|
||||
#include "dtscreen.h"
|
||||
#include <math.h>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#define MAXCOLORS 64
|
||||
#define MAXWORMS 64
|
||||
|
||||
Reference in New Issue
Block a user