diff options
Diffstat (limited to 'digikam/imageplugins/coreplugin/sharpnesseditor/clapack/util.c')
-rw-r--r-- | digikam/imageplugins/coreplugin/sharpnesseditor/clapack/util.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/digikam/imageplugins/coreplugin/sharpnesseditor/clapack/util.c b/digikam/imageplugins/coreplugin/sharpnesseditor/clapack/util.c index 6468db0..684cdfc 100644 --- a/digikam/imageplugins/coreplugin/sharpnesseditor/clapack/util.c +++ b/digikam/imageplugins/coreplugin/sharpnesseditor/clapack/util.c @@ -7,12 +7,7 @@ #include "f2c.h" #include "fio.h" - VOID -#ifdef KR_headers -g_char(a,alen,b) char *a,*b; ftnlen alen; -#else -g_char(char *a, ftnlen alen, char *b) -#endif +void g_char(char *a, ftnlen alen, char *b) { char *x = a + alen, *y = b + alen; @@ -29,22 +24,13 @@ g_char(char *a, ftnlen alen, char *b) while(x-- > a); } - VOID -#ifdef KR_headers -b_char(a,b,blen) char *a,*b; ftnlen blen; -#else -b_char(char *a, char *b, ftnlen blen) -#endif +void b_char(char *a, char *b, ftnlen blen) { int i; for(i=0;i<blen && *a!=0;i++) *b++= *a++; for(;i<blen;i++) *b++=' '; } #ifndef NON_UNIX_STDIO -#ifdef KR_headers -long f__inode(a, dev) char *a; int *dev; -#else long f__inode(char *a, int *dev) -#endif { struct stat x; if(stat(a,&x)<0) return(-1); *dev = x.st_dev; |