summaryrefslogtreecommitdiffstats
path: root/digikam/imageplugins/coreplugin/sharpnesseditor/clapack/err.c
diff options
context:
space:
mode:
Diffstat (limited to 'digikam/imageplugins/coreplugin/sharpnesseditor/clapack/err.c')
-rw-r--r--digikam/imageplugins/coreplugin/sharpnesseditor/clapack/err.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/digikam/imageplugins/coreplugin/sharpnesseditor/clapack/err.c b/digikam/imageplugins/coreplugin/sharpnesseditor/clapack/err.c
index de6f2cc..573372c 100644
--- a/digikam/imageplugins/coreplugin/sharpnesseditor/clapack/err.c
+++ b/digikam/imageplugins/coreplugin/sharpnesseditor/clapack/err.c
@@ -82,9 +82,9 @@ char *F_err[] =
#define MAXERR (sizeof(F_err)/sizeof(char *)+100)
#ifdef KR_headers
-f__canseek(f) FILE *f; /*SYSDEP*/
+int f__canseek(f) FILE *f; /*SYSDEP*/
#else
-f__canseek(FILE *f) /*SYSDEP*/
+int f__canseek(FILE *f) /*SYSDEP*/
#endif
{
#ifdef NON_UNIX_STDIO
@@ -186,10 +186,11 @@ f_init(Void)
p->ufmt=1;
p->uwrt=1;
}
+
#ifdef KR_headers
-f__nowreading(x) unit *x;
+int f__nowreading(x) unit *x;
#else
-f__nowreading(unit *x)
+int f__nowreading(unit *x)
#endif
{
long loc;
@@ -217,10 +218,11 @@ f__nowreading(unit *x)
x->uwrt = 0;
return 0;
}
+
#ifdef KR_headers
-f__nowwriting(x) unit *x;
+int f__nowwriting(x) unit *x;
#else
-f__nowwriting(unit *x)
+int f__nowwriting(unit *x)
#endif
{
long loc;