Use pure C comments only (i.e., /* foo */). C++ type comments (//)

yield errors in GCC 4.4 and later.  We may consider using C99 mode
  though...
This commit is contained in:
Bård Skaflestad 2009-11-20 15:36:32 +00:00
parent 8d81aa467b
commit 6fee738652
8 changed files with 20 additions and 23 deletions

View File

@ -1,4 +1,4 @@
//===========================================================================
/*===========================================================================
//
// File: facetopology.c
//
@ -10,7 +10,7 @@
//
// $Revision$
//
//===========================================================================
//===========================================================================*/
/*
Copyright 2009 SINTEF ICT, Applied Mathematics.

View File

@ -1,4 +1,4 @@
//===========================================================================
/*===========================================================================
//
// File: facetopology.h
//
@ -10,7 +10,7 @@
//
// $Revision$
//
//===========================================================================
//===========================================================================*/
/*
Copyright 2009 SINTEF ICT, Applied Mathematics.
@ -41,5 +41,4 @@ void findconnections(int n, int *pts[4],
int *work,
struct processed_grid *out);
#endif // OPENRS_FACETOPOLOGY_HEADER
#endif /* OPENRS_FACETOPOLOGY_HEADER */

View File

@ -1,4 +1,4 @@
//===========================================================================
/*===========================================================================
//
// File: preprocess.c
//
@ -10,7 +10,7 @@
//
// $Revision$
//
//===========================================================================
//==========================================================================*/
/*
Copyright 2009 SINTEF ICT, Applied Mathematics.

View File

@ -1,4 +1,4 @@
//===========================================================================
/*===========================================================================
//
// File: preprocess.h
//
@ -10,7 +10,7 @@
//
// $Revision$
//
//===========================================================================
//==========================================================================*/
/*
Copyright 2009 SINTEF ICT, Applied Mathematics.
@ -82,5 +82,5 @@ extern "C" {
#endif
#endif // OPENRS_PREPROCESS_HEADER
#endif /* OPENRS_PREPROCESS_HEADER */

View File

@ -1,4 +1,4 @@
//===========================================================================
/*===========================================================================
//
// File: sparsetable.c
//
@ -10,7 +10,7 @@
//
// $Revision$
//
//===========================================================================
//==========================================================================*/
/*
Copyright 2009 SINTEF ICT, Applied Mathematics.

View File

@ -1,4 +1,4 @@
//===========================================================================
/*===========================================================================
//
// File: sparsetable.h
//
@ -10,7 +10,7 @@
//
// $Revision$
//
//===========================================================================
//===========================================================================*/
/*
Copyright 2009 SINTEF ICT, Applied Mathematics.
@ -50,5 +50,4 @@ void free_sparse_table (sparse_table_t *tab);
sparse_table_t *malloc_sparse_table (int m, int n, int datasz);
sparse_table_t *realloc_sparse_table (sparse_table_t *tab, int m, int n, int datasz);
#endif // OPENRS_SPARSETABLE_HEADER
#endif /* OPENRS_SPARSETABLE_HEADER */

View File

@ -1,4 +1,4 @@
//===========================================================================
/*===========================================================================
//
// File: uniquepoints.c
//
@ -10,7 +10,7 @@
//
// $Revision$
//
//===========================================================================
//==========================================================================*/
/*
Copyright 2009 SINTEF ICT, Applied Mathematics.

View File

@ -1,4 +1,4 @@
//===========================================================================
/*===========================================================================
//
// File: uniquepoints.h
//
@ -10,7 +10,7 @@
//
// $Revision$
//
//===========================================================================
//==========================================================================*/
/*
Copyright 2009 SINTEF ICT, Applied Mathematics.
@ -40,5 +40,4 @@ int finduniquepoints(const struct grdecl *g, /* input */
double t, /* tolerance*/
struct processed_grid *out);
#endif // OPENRS_UNIQUEPOINTS_HEADER
#endif /* OPENRS_UNIQUEPOINTS_HEADER */