Skip to content

Commit

Permalink
protect header against multiple inclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
teuben committed May 9, 2024
1 parent d3af4ec commit a0a41ee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions inc/mdarray.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
*
*/

#ifndef _h_mdarray
#define _h_mdarray

#define MDMAXDIM 8

typedef real *mdarray1; /* v1[n1] */
Expand Down Expand Up @@ -39,3 +42,4 @@ void free_mdarray6(mdarray6 x, int n6, int n5, int n4, int n3, int n2, int n1);
void free_mdarray7(mdarray7 x, int n7, int n6, int n5, int n4, int n3, int n2, int n1);
void free_mdarray8(mdarray8 x, int n8, int n7, int n6, int n5, int n4, int n3, int n2, int n1);

#endif

0 comments on commit a0a41ee

Please sign in to comment.