Skip to content

Commit

Permalink
The function main must return int
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Feb 9, 2024
1 parent 254238d commit 8409053
Show file tree
Hide file tree
Showing 106 changed files with 106 additions and 106 deletions.
2 changes: 1 addition & 1 deletion src/arc/C/arcs.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ipc_ fun(ipc_ n, const real_wp_ x[], real_wp_ *f, const void *);
ipc_ grad(ipc_ n, const real_wp_ x[], real_wp_ g[], const void *);
ipc_ hess(ipc_ n, ipc_ ne, const real_wp_ x[], real_wp_ hval[], const void *);

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/arc/C/arcs2.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ipc_ grad(ipc_ n, const real_wp_ x[], real_wp_ g[], const void *);
ipc_ hessprod(ipc_ n, const real_wp_ x[], real_wp_ u[], const real_wp_ v[],
bool got_h, const void *);

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/arc/C/arcs3.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "galahad_precision.h"
#include "galahad_arc.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/arc/C/arcs4.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "galahad_precision.h"
#include "galahad_arc.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/arc/C/arct.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ipc_ hess_diag( ipc_ n, ipc_ ne, const real_wp_ x[], real_wp_ hval[], const void
ipc_ hessprod_diag( ipc_ n, const real_wp_ x[], real_wp_ u[], const real_wp_ v[],
bool got_h, const void * );

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/arc/C/arctf.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ipc_ hess_diag( ipc_ n, ipc_ ne, const real_wp_ x[], real_wp_ hval[],
ipc_ hessprod_diag( ipc_ n, const real_wp_ x[], real_wp_ u[], const real_wp_ v[],
bool got_h, const void * );

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/bgo/C/bgos.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ipc_ hess( ipc_ n, ipc_ ne, const real_wp_ x[], real_wp_ hval[], const void * );
ipc_ hessprod( ipc_ n, const real_wp_ x[], real_wp_ u[], const real_wp_ v[],
bool got_h, const void * );

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/bgo/C/bgos2.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ipc_ shessprod( ipc_ n, const real_wp_ x[], ipc_ nnz_v, const ipc_ index_nz_v[],
const real_wp_ v[], int *nnz_u, ipc_ index_nz_u[], real_wp_ u[],
bool got_h, const void * );

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/bgo/C/bgos3.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "galahad_precision.h"
#include "galahad_bgo.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/bgo/C/bgos4.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "galahad_precision.h"
#include "galahad_bgo.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/bgo/C/bgot.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ipc_ shessprod_diag( ipc_ n, const real_wp_ x[], ipc_ nnz_v, const ipc_ index_nz
const real_wp_ v[], int *nnz_u, ipc_ index_nz_u[],
real_wp_ u[], bool got_h, const void * );

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/bgo/C/bgotf.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ipc_ shessprod_diag( ipc_ n, const real_wp_ x[], ipc_ nnz_v,
const real_wp_ v[], int *nnz_u, ipc_ index_nz_u[],
real_wp_ u[], bool got_h, const void * );

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/blls/C/bllst.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ struct userdata_type {
// Function prototypes
ipc_ prec( ipc_ n, const real_wp_ v[], real_wp_ p[], const void * );

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/blls/C/bllstf.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ struct userdata_type {
// Function prototypes
ipc_ prec( ipc_ n, const real_wp_ v[], real_wp_ p[], const void * );

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/bllsb/C/bllsbt.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "galahad_cfunctions.h"
#include "galahad_bllsb.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/bllsb/C/bllsbtf.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "galahad_cfunctions.h"
#include "galahad_bllsb.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/bqp/C/bqpt.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "galahad_cfunctions.h"
#include "galahad_bqp.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/bqp/C/bqptf.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "galahad_cfunctions.h"
#include "galahad_bqp.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/bqpb/C/bqpbt.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "galahad_cfunctions.h"
#include "galahad_bqpb.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/bqpb/C/bqpbtf.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "galahad_cfunctions.h"
#include "galahad_bqpb.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/ccqp/C/ccqpt.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "galahad_cfunctions.h"
#include "galahad_ccqp.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/ccqp/C/ccqptf.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "galahad_cfunctions.h"
#include "galahad_ccqp.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/clls/C/cllst.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "galahad_cfunctions.h"
#include "galahad_clls.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/clls/C/cllstf.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "galahad_cfunctions.h"
#include "galahad_clls.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/cqp/C/cqpt.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "galahad_cfunctions.h"
#include "galahad_cqp.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/cqp/C/cqptf.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "galahad_cfunctions.h"
#include "galahad_cqp.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/cro/C/crot.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "galahad_cfunctions.h"
#include "galahad_cro.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/cro/C/crotf.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "galahad_cfunctions.h"
#include "galahad_cro.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/dgo/C/dgos.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ipc_ hess( ipc_ n, ipc_ ne, const real_wp_ x[], real_wp_ hval[], const void * );
ipc_ hessprod( ipc_ n, const real_wp_ x[], real_wp_ u[], const real_wp_ v[],
bool got_h, const void * );

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/dgo/C/dgos2.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ipc_ shessprod( ipc_ n, const real_wp_ x[], ipc_ nnz_v, const ipc_ index_nz_v[],
const real_wp_ v[], int *nnz_u, ipc_ index_nz_u[], real_wp_ u[],
bool got_h, const void * );

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/dgo/C/dgos3.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "galahad_precision.h"
#include "galahad_dgo.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/dgo/C/dgos4.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "galahad_precision.h"
#include "galahad_dgo.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/dgo/C/dgot.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ipc_ shessprod_diag( ipc_ n, const real_wp_ x[], ipc_ nnz_v, const ipc_ index_nz
const real_wp_ v[], int *nnz_u, ipc_ index_nz_u[],
real_wp_ u[], bool got_h, const void * );

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/dgo/C/dgotf.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ipc_ shessprod_diag( ipc_ n, const real_wp_ x[], ipc_ nnz_v,
const real_wp_ v[], int *nnz_u, ipc_ index_nz_u[],
real_wp_ u[], bool got_h, const void * );

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/dps/C/dpst.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "galahad_cfunctions.h"
#include "galahad_dps.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/dps/C/dpstf.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "galahad_cfunctions.h"
#include "galahad_dps.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/dqp/C/dqpt.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "galahad_cfunctions.h"
#include "galahad_dqp.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/dqp/C/dqpt2.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "galahad_cfunctions.h"
#include "galahad_dqp.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/dqp/C/dqptf.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "galahad_cfunctions.h"
#include "galahad_dqp.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/eqp/C/eqpt.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "galahad_cfunctions.h"
#include "galahad_eqp.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/eqp/C/eqptf.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "galahad_cfunctions.h"
#include "galahad_eqp.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/fdc/C/fdct.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "galahad_cfunctions.h"
#include "galahad_fdc.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/fdc/C/fdctf.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "galahad_cfunctions.h"
#include "galahad_fdc.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
2 changes: 1 addition & 1 deletion src/glrt/C/glrtt.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "galahad_cfunctions.h"
#include "galahad_glrt.h"

ipc_ main(void) {
int main(void) {

// Derived types
void *data;
Expand Down
Loading

0 comments on commit 8409053

Please sign in to comment.