From de0a8d8ff492fe1ede5ae2b3bad3d3bf659934d1 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 15 Feb 2015 17:27:22 +0100 Subject: Remove all uses of getenv Not much functionality lost here. Move on. --- private.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'private.h') diff --git a/private.h b/private.h index 3e5a9b3..ff207e4 100644 --- a/private.h +++ b/private.h @@ -44,11 +44,6 @@ #define max_specified_vars (100) #define vlen(x) (sizeof(x)/sizeof(*x)) - -#define argi(s,d) ((ai = getenv(s)) ? atoi(ai) : (d)) -#define argf(s,d) ((ai = getenv(s)) ? atof(ai) : (d)) -#define args(s,d) ((ai = getenv(s)) ? ai : (d)) - /* Structures for passing parameters to iteration threads */ typedef struct { unsigned short *xform_distrib; /* Distribution of xforms based on weights */ -- cgit v1.2.3