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:
1 parent
8d81aa467b
commit
6fee738652
8 files changed
+20
-23
No files matched your search
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
//===========================================================================
|
/*===========================================================================
|
||||||
//
|
//
|
||||||
// File: facetopology.c
|
// File: facetopology.c
|
||||||
//
|
//
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
//
|
//
|
||||||
// $Revision$
|
// $Revision$
|
||||||
//
|
//
|
||||||
//===========================================================================
|
//===========================================================================*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright 2009 SINTEF ICT, Applied Mathematics.
|
Copyright 2009 SINTEF ICT, Applied Mathematics.
|
||||||
|
|||||||
+3
-4
@@ -1,4 +1,4 @@
|
|||||||
//===========================================================================
|
/*===========================================================================
|
||||||
//
|
//
|
||||||
// File: facetopology.h
|
// File: facetopology.h
|
||||||
//
|
//
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
//
|
//
|
||||||
// $Revision$
|
// $Revision$
|
||||||
//
|
//
|
||||||
//===========================================================================
|
//===========================================================================*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright 2009 SINTEF ICT, Applied Mathematics.
|
Copyright 2009 SINTEF ICT, Applied Mathematics.
|
||||||
@@ -41,5 +41,4 @@ void findconnections(int n, int *pts[4],
|
|||||||
int *work,
|
int *work,
|
||||||
struct processed_grid *out);
|
struct processed_grid *out);
|
||||||
|
|
||||||
#endif // OPENRS_FACETOPOLOGY_HEADER
|
#endif /* OPENRS_FACETOPOLOGY_HEADER */
|
||||||
|
|
||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
//===========================================================================
|
/*===========================================================================
|
||||||
//
|
//
|
||||||
// File: preprocess.c
|
// File: preprocess.c
|
||||||
//
|
//
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
//
|
//
|
||||||
// $Revision$
|
// $Revision$
|
||||||
//
|
//
|
||||||
//===========================================================================
|
//==========================================================================*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright 2009 SINTEF ICT, Applied Mathematics.
|
Copyright 2009 SINTEF ICT, Applied Mathematics.
|
||||||
|
|||||||
+3
-3
@@ -1,4 +1,4 @@
|
|||||||
//===========================================================================
|
/*===========================================================================
|
||||||
//
|
//
|
||||||
// File: preprocess.h
|
// File: preprocess.h
|
||||||
//
|
//
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
//
|
//
|
||||||
// $Revision$
|
// $Revision$
|
||||||
//
|
//
|
||||||
//===========================================================================
|
//==========================================================================*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright 2009 SINTEF ICT, Applied Mathematics.
|
Copyright 2009 SINTEF ICT, Applied Mathematics.
|
||||||
@@ -82,5 +82,5 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif // OPENRS_PREPROCESS_HEADER
|
#endif /* OPENRS_PREPROCESS_HEADER */
|
||||||
|
|
||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
//===========================================================================
|
/*===========================================================================
|
||||||
//
|
//
|
||||||
// File: sparsetable.c
|
// File: sparsetable.c
|
||||||
//
|
//
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
//
|
//
|
||||||
// $Revision$
|
// $Revision$
|
||||||
//
|
//
|
||||||
//===========================================================================
|
//==========================================================================*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright 2009 SINTEF ICT, Applied Mathematics.
|
Copyright 2009 SINTEF ICT, Applied Mathematics.
|
||||||
|
|||||||
+3
-4
@@ -1,4 +1,4 @@
|
|||||||
//===========================================================================
|
/*===========================================================================
|
||||||
//
|
//
|
||||||
// File: sparsetable.h
|
// File: sparsetable.h
|
||||||
//
|
//
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
//
|
//
|
||||||
// $Revision$
|
// $Revision$
|
||||||
//
|
//
|
||||||
//===========================================================================
|
//===========================================================================*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright 2009 SINTEF ICT, Applied Mathematics.
|
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 *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);
|
sparse_table_t *realloc_sparse_table (sparse_table_t *tab, int m, int n, int datasz);
|
||||||
|
|
||||||
#endif // OPENRS_SPARSETABLE_HEADER
|
#endif /* OPENRS_SPARSETABLE_HEADER */
|
||||||
|
|
||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
//===========================================================================
|
/*===========================================================================
|
||||||
//
|
//
|
||||||
// File: uniquepoints.c
|
// File: uniquepoints.c
|
||||||
//
|
//
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
//
|
//
|
||||||
// $Revision$
|
// $Revision$
|
||||||
//
|
//
|
||||||
//===========================================================================
|
//==========================================================================*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright 2009 SINTEF ICT, Applied Mathematics.
|
Copyright 2009 SINTEF ICT, Applied Mathematics.
|
||||||
|
|||||||
+3
-4
@@ -1,4 +1,4 @@
|
|||||||
//===========================================================================
|
/*===========================================================================
|
||||||
//
|
//
|
||||||
// File: uniquepoints.h
|
// File: uniquepoints.h
|
||||||
//
|
//
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
//
|
//
|
||||||
// $Revision$
|
// $Revision$
|
||||||
//
|
//
|
||||||
//===========================================================================
|
//==========================================================================*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright 2009 SINTEF ICT, Applied Mathematics.
|
Copyright 2009 SINTEF ICT, Applied Mathematics.
|
||||||
@@ -40,5 +40,4 @@ int finduniquepoints(const struct grdecl *g, /* input */
|
|||||||
double t, /* tolerance*/
|
double t, /* tolerance*/
|
||||||
struct processed_grid *out);
|
struct processed_grid *out);
|
||||||
|
|
||||||
#endif // OPENRS_UNIQUEPOINTS_HEADER
|
#endif /* OPENRS_UNIQUEPOINTS_HEADER */
|
||||||
|
|
||||||
Reference in new issue
Block a user