diff options
author | tradke <tradke@b589c3ab-70e8-4b4d-a09f-cba2dd200880> | 2000-04-13 09:38:24 +0000 |
---|---|---|
committer | tradke <tradke@b589c3ab-70e8-4b4d-a09f-cba2dd200880> | 2000-04-13 09:38:24 +0000 |
commit | 34c967c887bbcad5eb62a4923f41e261ebe7b382 (patch) | |
tree | a11f429f099440ea815350a32c4888903a3fa4c3 /src | |
parent | 6ae34e7fe412b816d8d313e5cd9157ffdf32bffb (diff) |
Include <unistd.h> after <cctk.h>.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOBasic/trunk@51 b589c3ab-70e8-4b4d-a09f-cba2dd200880
Diffstat (limited to 'src')
-rw-r--r-- | src/Write.c | 8 | ||||
-rw-r--r-- | src/WriteGF.c | 8 |
2 files changed, 10 insertions, 6 deletions
diff --git a/src/Write.c b/src/Write.c index 8751267..f5d8809 100644 --- a/src/Write.c +++ b/src/Write.c @@ -15,15 +15,17 @@ #include <stdio.h> #include <stdlib.h> -#ifdef HAVE_UNISTD_H -#include <unistd.h> /* access(2) */ -#endif #include "cctk.h" #include "cctk_Parameters.h" #include "CactusBase/IOUtil/src/ioGH.h" #include "iobasicGH.h" +#ifdef HAVE_UNISTD_H +#include <unistd.h> /* access(2) */ +#endif + + void IOBasic_Write (cGH *GH, int index, const char *alias) { DECLARE_CCTK_PARAMETERS diff --git a/src/WriteGF.c b/src/WriteGF.c index 84bc7a8..7852ecb 100644 --- a/src/WriteGF.c +++ b/src/WriteGF.c @@ -15,15 +15,17 @@ #include <stdio.h> #include <stdlib.h> -#ifdef HAVE_UNISTD_H -#include <unistd.h> /* access(2) */ -#endif #include "cctk.h" #include "cctk_Parameters.h" #include "CactusBase/IOUtil/src/ioGH.h" #include "iobasicGH.h" +#ifdef HAVE_UNISTD_H +#include <unistd.h> /* access(2) */ +#endif + + void IOBasic_WriteGF (cGH *GH, int index, const char *alias) { DECLARE_CCTK_PARAMETERS |