aboutsummaryrefslogtreecommitdiff
path: root/src/gen_cheb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gen_cheb.c')
-rw-r--r--src/gen_cheb.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gen_cheb.c b/src/gen_cheb.c
index b7c41d82..6422afc9 100644
--- a/src/gen_cheb.c
+++ b/src/gen_cheb.c
@@ -8,8 +8,13 @@
#ifndef COEF_LINE_MAX
#define COEF_LINE_MAX 60
#endif
- void
-gen_cheb(int inverse, projUV (*proj)(projUV), char *s, PJ *P, int iargc, char **iargv) {
+
+/* FIXME: put the declaration in a header. Also used in proj.c */
+void gen_cheb(int inverse, projUV (*proj)(projUV), char *s, PJ *P,
+ int iargc, char **iargv);
+
+void gen_cheb(int inverse, projUV (*proj)(projUV), char *s, PJ *P,
+ int iargc, char **iargv) {
int NU = 15, NV = 15, res = -1, errin = 0, pwr;
char *arg, fmt[15];
projUV low, upp, resid;