summaryrefslogtreecommitdiffstats
path: root/digikam/imageplugins/coreplugin/sharpnesseditor/clapack/close.c
diff options
context:
space:
mode:
Diffstat (limited to 'digikam/imageplugins/coreplugin/sharpnesseditor/clapack/close.c')
-rw-r--r--digikam/imageplugins/coreplugin/sharpnesseditor/clapack/close.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/digikam/imageplugins/coreplugin/sharpnesseditor/clapack/close.c b/digikam/imageplugins/coreplugin/sharpnesseditor/clapack/close.c
index 5810059..d305ccf 100644
--- a/digikam/imageplugins/coreplugin/sharpnesseditor/clapack/close.c
+++ b/digikam/imageplugins/coreplugin/sharpnesseditor/clapack/close.c
@@ -1,8 +1,5 @@
#include "f2c.h"
#include "fio.h"
-#ifdef KR_headers
-integer f_clos(a) cllist *a;
-#else
#undef abs
#undef min
#undef max
@@ -24,7 +21,6 @@ extern int unlink(const char*);
#endif
integer f_clos(cllist *a)
-#endif
{ unit *b;
if(a->cunit >= MXUNIT) return(0);
@@ -62,12 +58,7 @@ integer f_clos(cllist *a)
b->ufnm=NULL;
return(0);
}
- void
-#ifdef KR_headers
-f_exit()
-#else
-f_exit(void)
-#endif
+void f_exit(void)
{ int i;
static cllist xx;
if (!xx.cerr) {
@@ -80,12 +71,7 @@ f_exit(void)
}
}
}
- int
-#ifdef KR_headers
-flush_()
-#else
-flush_(void)
-#endif
+int flush_(void)
{ int i;
for(i=0;i<MXUNIT;i++)
if(f__units[i].ufd != NULL && f__units[i].uwrt)