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 "dtscreen.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#define MAXTOTAL 10000
|
#define MAXTOTAL 10000
|
||||||
#define MAXBATCH 10
|
#define MAXBATCH 10
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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 */
|
||||||
|
|||||||
@@ -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 */
|
||||||
|
|||||||
@@ -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 */
|
||||||
|
|||||||
@@ -49,6 +49,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dtscreen.h"
|
#include "dtscreen.h"
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int x;
|
int x;
|
||||||
|
|||||||
@@ -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 */
|
||||||
|
|||||||
@@ -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 */
|
||||||
|
|||||||
@@ -54,6 +54,7 @@
|
|||||||
|
|
||||||
#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
|
||||||
|
|||||||
Reference in New Issue
Block a user