Mercurial > hg > octave-lyh
changeset 17189:4e9ff411d0fa
Remove minor stylistic C'ism
* __glpk__.cc: Declare control_params with C++ syntax instead of C's
typedef convention.
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Mon, 05 Aug 2013 14:36:05 -0400 |
parents | 54e251e699bb |
children | fa724bdd52d0 |
files | libinterp/dldfcn/__glpk__.cc |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/dldfcn/__glpk__.cc +++ b/libinterp/dldfcn/__glpk__.cc @@ -49,7 +49,7 @@ #endif } -typedef struct +struct control_params { int msglev; int dual; @@ -69,7 +69,7 @@ double objul; double tolint; double tolobj; -} control_params; +}; static jmp_buf mark; //-- Address for long jump to jump to