Skip to content

Commit bd972be

Browse files
authored
i.points.auto: use either fftw3.h or dfftw.h; remove erroneous prototypes (#1591)
1 parent ec0ee96 commit bd972be

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

src/imagery/i.points.auto/find_points.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@
66
#include <signal.h>
77

88
#include <grass/config.h>
9-
#ifdef HAVE_FFTW3_H
9+
#if defined(HAVE_FFTW3_H)
1010
#include <fftw3.h>
11-
#endif
12-
#ifdef HAVE_DFFTW_H
11+
#elif defined(HAVE_DFFTW_H)
1312
#include <dfftw.h>
1413
#endif
1514

src/imagery/i.points.auto/globals.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,3 @@ GLOBAL char interrupt_char;
2424
GLOBAL char *tempfile1;
2525
GLOBAL char *tempfile2;
2626
GLOBAL char *tempfile3;
27-
28-
double row_to_northing();
29-
double col_to_easting();
30-
double northing_to_row();
31-
double easting_to_col();

0 commit comments

Comments
 (0)