diff options
Diffstat (limited to 'digikam/imageplugins/coreplugin/sharpnesseditor/clapack/endfile.c')
-rw-r--r-- | digikam/imageplugins/coreplugin/sharpnesseditor/clapack/endfile.c | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/digikam/imageplugins/coreplugin/sharpnesseditor/clapack/endfile.c b/digikam/imageplugins/coreplugin/sharpnesseditor/clapack/endfile.c index f8802ee..d309fc2 100644 --- a/digikam/imageplugins/coreplugin/sharpnesseditor/clapack/endfile.c +++ b/digikam/imageplugins/coreplugin/sharpnesseditor/clapack/endfile.c @@ -1,24 +1,15 @@ #include "f2c.h" #include "fio.h" -#ifdef KR_headers -extern char *strcpy(); -extern FILE *tmpfile(); -#else #undef abs #undef min #undef max #include "stdlib.h" #include "string.h" -#endif extern char *f__r_mode[], *f__w_mode[]; -#ifdef KR_headers -integer f_end(a) alist *a; -#else integer f_end(alist *a) -#endif { unit *b; FILE *tf; @@ -36,12 +27,7 @@ integer f_end(alist *a) return(b->useek ? t_runc(a) : 0); } - static int -#ifdef KR_headers -copy(from, len, to) FILE *from, *to; long len; -#else -copy(FILE *from, long len, FILE *to) -#endif +static int copy(FILE *from, long len, FILE *to) { int len1; char buf[BUFSIZ]; @@ -55,12 +41,7 @@ copy(FILE *from, long len, FILE *to) return 0; } - int -#ifdef KR_headers -t_runc(a) alist *a; -#else -t_runc(alist *a) -#endif +int t_runc(alist *a) { long loc, len; unit *b; |