Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
science
eso-midas
end-of-non-void-function.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File end-of-non-void-function.patch of Package eso-midas
Index: midas/19FEBpl1.1/install/unix/test/mathc.c =================================================================== --- midas.orig/19FEBpl1.1/install/unix/test/mathc.c +++ midas/19FEBpl1.1/install/unix/test/mathc.c @@ -31,16 +31,16 @@ #include <sys/stat.h> #include <math.h> -mathc() { mathcommon(); } -_mathc() { mathcommon(); } -mathc_() { mathcommon(); } -_mathc_() { mathcommon(); } -MATHC() { mathcommon(); } -_MATHC() { mathcommon(); } -MATHC_() { mathcommon(); } -_MATHC_() { mathcommon(); } +void mathc() { mathcommon(); } +void _mathc() { mathcommon(); } +void mathc_() { mathcommon(); } +void _mathc_() { mathcommon(); } +void MATHC() { mathcommon(); } +void _MATHC() { mathcommon(); } +void MATHC_() { mathcommon(); } +void _MATHC_() { mathcommon(); } -mathcommon() +void mathcommon() { double x; sin(x); cos(x); tan(x); asin(x); acos(x); atan(x); Index: midas/19FEBpl1.1/libsrc/math/fitnol.c =================================================================== --- midas.orig/19FEBpl1.1/libsrc/math/fitnol.c +++ midas/19FEBpl1.1/libsrc/math/fitnol.c @@ -80,7 +80,7 @@ int myfunct(int m, int n, double *p, dou int fit_gauss (double *x, double *y, int n, double *a, int nfp) { priv_data pdata = {&x[1], &y[1]}; - mpfit((mp_func)&myfunct, n, nfp, + return mpfit((mp_func)&myfunct, n, nfp, &a[1], NULL, NULL, &pdata, NULL); Index: midas/19FEBpl1.1/prim/edit/libsrc/edtcommand.c =================================================================== --- midas.orig/19FEBpl1.1/prim/edit/libsrc/edtcommand.c +++ midas/19FEBpl1.1/prim/edit/libsrc/edtcommand.c @@ -1129,6 +1129,7 @@ PURPOSE Add a given number of row return(NULLACTION); } + return(NULLACTION); } int edt_delrow() /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ @@ -1162,4 +1163,5 @@ PURPOSE delete one or several ro status = ShowError("Error in Row Position"); return(NULLACTION); } + return(NULLACTION); } Index: midas/19FEBpl1.1/stdred/mos/incl/proto_longmos.h =================================================================== --- midas.orig/19FEBpl1.1/stdred/mos/incl/proto_longmos.h +++ midas/19FEBpl1.1/stdred/mos/incl/proto_longmos.h @@ -15,7 +15,7 @@ extern int read_col( #endif ); -extern int write_dcol( +extern void write_dcol( #ifdef __STDC__ int, int, int [], int, double [] #endif Index: midas/19FEBpl1.1/stdred/mos/libsrc/longmos.c =================================================================== --- midas.orig/19FEBpl1.1/stdred/mos/libsrc/longmos.c +++ midas/19FEBpl1.1/stdred/mos/libsrc/longmos.c @@ -37,9 +37,9 @@ int read_col( tid, nb, colnb, col, dnull /*---------------------------------------------------------------------------*/ /* Subroutine write_dcol: Write a table column */ #ifdef __STDC__ -int write_dcol( int tid, int nb, int select[], int colnb, double col[]) +void write_dcol( int tid, int nb, int select[], int colnb, double col[]) #else -int write_dcol ( tid, nb, select, colnb, col) +void write_dcol ( tid, nb, select, colnb, col) double col[]; int tid,nb,colnb,select[]; #endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor