Salome HOME
0021196: [CEA 456] Integration and merge modification for debian packages
[modules/kernel.git] / src / HDFPersist / HDFnObjects.c
index 1015b4737fef44f692a513834b19b3699c804002..b95f589fbd7e9c3cec99df9544e4eba618423aaf 100644 (file)
@@ -1,3 +1,31 @@
+//  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
+//
+//  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+//  This library is free software; you can redistribute it and/or
+//  modify it under the terms of the GNU Lesser General Public
+//  License as published by the Free Software Foundation; either
+//  version 2.1 of the License.
+//
+//  This library is distributed in the hope that it will be useful,
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+//  Lesser General Public License for more details.
+//
+//  You should have received a copy of the GNU Lesser General Public
+//  License along with this library; if not, write to the Free Software
+//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+//  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+/*----------------------------------------------------------------------------
+SALOME HDFPersist : implementation of HDF persitent ( save/ restore )
+  File   : HDFnObjects.c
+  Module : SALOME
+----------------------------------------------------------------------------*/
+
 #include "hdfi.h"
 #include <stdlib.h>
 
@@ -15,7 +43,7 @@
 hdf_err Num(hdf_idt id,const char *name, void *data);
 
 hdf_err
-HDFnObjects(hdf_idt fid,char *path,int *n)
+HDFnObjects(hdf_idt fid,const char *path,int *n)
 {
   int idx;
   int m = 0;