summaryrefslogtreecommitdiff
path: root/src/type
diff options
context:
space:
mode:
authorjofret2008-04-18 08:42:16 +0000
committerjofret2008-04-18 08:42:16 +0000
commite15d2967125c1663ca83ec8ddb0bc23e481fef52 (patch)
tree0e99289d878c79adc773342aeb34e0b3cad167ad /src/type
parent983e25c5e54c8b5c5ce9ad5df26b31feb87f9285 (diff)
downloadscilab2c-e15d2967125c1663ca83ec8ddb0bc23e481fef52.tar.gz
scilab2c-e15d2967125c1663ca83ec8ddb0bc23e481fef52.tar.bz2
scilab2c-e15d2967125c1663ca83ec8ddb0bc23e481fef52.zip
Enable warnings
Diffstat (limited to 'src/type')
-rw-r--r--src/type/floatComplex.c20
-rw-r--r--src/type/floatComplex.h20
-rw-r--r--src/type/testDoubleComplex.c22
-rw-r--r--src/type/testFloatComplex.c22
4 files changed, 42 insertions, 42 deletions
diff --git a/src/type/floatComplex.c b/src/type/floatComplex.c
index a5483161..081fc1ec 100644
--- a/src/type/floatComplex.c
+++ b/src/type/floatComplex.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** floatComplex.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Thu Nov 30 16:27:08 2006 jofret
-** Last update Thu Aug 30 09:42:59 2007 bruno
-**
-** Copyright INRIA 2006
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Bruno JOFRET
+ *
+ * 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
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
#ifdef __STDC_VERSION__
# ifndef STDC
diff --git a/src/type/floatComplex.h b/src/type/floatComplex.h
index 64afed90..9d3a1477 100644
--- a/src/type/floatComplex.h
+++ b/src/type/floatComplex.h
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** floatComplex.h
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Thu Nov 30 16:50:08 2006 jofret
-** Last update Thu Aug 16 12:14:57 2007 bruno
-**
-** Copyright INRIA 2006
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Bruno JOFRET
+ *
+ * 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
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
#ifndef __FLOATCOMPLEX_H__
#define __FLOATCOMPLEX_H__
diff --git a/src/type/testDoubleComplex.c b/src/type/testDoubleComplex.c
index d287cbc0..4e3d94f3 100644
--- a/src/type/testDoubleComplex.c
+++ b/src/type/testDoubleComplex.c
@@ -1,20 +1,20 @@
/*
-** -*- C -*-
-**
-** main.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Thu Nov 30 16:59:04 2006 jofret
-** Last update Mon Oct 22 10:21:07 2007 bruno
-**
-** Copyright INRIA 2006
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Bruno JOFRET
+ *
+ * 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
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
#include <stdio.h>
#include <assert.h>
#include "doubleComplex.h"
-int main(int argc, char **argv) {
+int main(void) {
/* z = -3 + 25*%i */
doubleComplex z = DoubleComplex(3,-25);
/* y = -3.123456 + 25.123456*%i */
diff --git a/src/type/testFloatComplex.c b/src/type/testFloatComplex.c
index 253e2d3e..17bbc596 100644
--- a/src/type/testFloatComplex.c
+++ b/src/type/testFloatComplex.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** main.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Thu Nov 30 16:59:04 2006 jofret
-** Last update Mon Oct 22 10:22:19 2007 bruno
-**
-** Copyright INRIA 2006
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Bruno JOFRET
+ *
+ * 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
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
#include <stdio.h>
#include <assert.h>
@@ -17,7 +17,7 @@
#include "floatComplex.h"
-int main(int argc, char **argv) {
+int main(void) {
/* z = -3 + 25*%i */
floatComplex z = FloatComplex((float)3, (float)-25);
/* y = -3.123456 + 25.123456*%i */