From a6d49731b8a9c7477a6d05d8de00fe435aec0ec3 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 24 Sep 2012 11:41:54 +0200 Subject: [PATCH] Test of the astyle formating Change-Id: I03c1427eeef50bb308ffa7d62bdd6b504d010caf --- scilab/modules/core/src/c/xscion.c | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/scilab/modules/core/src/c/xscion.c b/scilab/modules/core/src/c/xscion.c index 8344ff6..e3057d2 100644 --- a/scilab/modules/core/src/c/xscion.c +++ b/scilab/modules/core/src/c/xscion.c @@ -1,27 +1,32 @@ /* * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab * Copyright (C) 2006 - INRIA - Allan CORNET - * + * * This file must be used under the terms of the CeCILL. * This source file is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms - * are also available at + * are also available at * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt * */ #include "xscion.h" #include "scilabmode.h" -/*--------------------------------------------------------------------------*/ +/*--------------------------------------------------------------------------*/ int C2F(xscion) (int *i) { - if ( getScilabMode() == SCILAB_STD) *i=1; - else *i=0; - return 0; + if (getScilabMode() == SCILAB_STD) + { + *i = 1; + } + else + { + *i = 0; + } + return 0; } -/*--------------------------------------------------------------------------*/ +/*--------------------------------------------------------------------------*/ int getINXscilab(void) { - return getScilabMode() == SCILAB_STD; - + return getScilabMode() == SCILAB_STD; } -/*--------------------------------------------------------------------------*/ +/*--------------------------------------------------------------------------*/ -- 1.7.9.5