aboutsummaryrefslogtreecommitdiff
path: root/fractal-gen.c
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2016-04-08 12:07:49 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2016-04-08 12:07:49 +1200
commit182f093d29a1c7d12e919cd896cf63e041b3e011 (patch)
tree47976194ed9f61a84c2e98f984a014b9910d4349 /fractal-gen.c
parentedd0f88981fda8429e175e582152946666c0cf7e (diff)
downloadfractal-gen-182f093d29a1c7d12e919cd896cf63e041b3e011.tar.xz
Tidy up declarations
Diffstat (limited to 'fractal-gen.c')
-rw-r--r--fractal-gen.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/fractal-gen.c b/fractal-gen.c
index edda171..38cef2f 100644
--- a/fractal-gen.c
+++ b/fractal-gen.c
@@ -26,6 +26,7 @@
*/
#include "fractal-gen.h"
+#include "generator.h"
#include <stdio.h>
#include <stdlib.h>
@@ -35,12 +36,6 @@
#include <math.h>
#include <string.h>
-struct section_generator
-{
- char *executable_name;
- generator_func generator;
-};
-
static struct section_generator generators[] = {
{ "mandelbrot-gen" , &generate_mandelbrot_section },
{ "burning-ship-gen" , &generate_burning_ship_section },
@@ -48,10 +43,6 @@ static struct section_generator generators[] = {
};
-/* FIXME put into header */
-double thread_mult = 0.f; /* number to multiply available cores by to get thread count */
-char *argv0 = NULL;
-
int main(int argc, char **argv)
{
unsigned long x = 0;