summaryrefslogtreecommitdiff
path: root/private.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2015-02-15 17:27:22 +0100
committerLars-Dominik Braun <lars@6xq.net>2015-05-02 21:36:45 +0200
commitde0a8d8ff492fe1ede5ae2b3bad3d3bf659934d1 (patch)
treee90a20142ee0c1206480c04a69761bb5c2f38879 /private.h
parentb1dc710474fd86eb3d5ff2a51edcbfcaf0c7301c (diff)
downloadpucket-de0a8d8ff492fe1ede5ae2b3bad3d3bf659934d1.tar.gz
pucket-de0a8d8ff492fe1ede5ae2b3bad3d3bf659934d1.tar.bz2
pucket-de0a8d8ff492fe1ede5ae2b3bad3d3bf659934d1.zip
Remove all uses of getenv
Not much functionality lost here. Move on.
Diffstat (limited to 'private.h')
-rw-r--r--private.h5
1 files changed, 0 insertions, 5 deletions
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 */