diff options
author | John Ericson <git@JohnEricson.me> | 2019-07-10 11:54:47 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-07-14 01:21:48 -0400 |
commit | d7c6c4717cdf1b7bd8550e37da66c52275c802f0 (patch) | |
tree | 7488a774c7b8e288b4373bcdc9121b53ba1492ea /testsuite/tests/ffi | |
parent | bd9fc1b2adea718be089b8370d2e82ea55af6539 (diff) | |
download | haskell-d7c6c4717cdf1b7bd8550e37da66c52275c802f0.tar.gz |
Expunge #ifdef and #ifndef from the codebase
These are unexploded minds as far as the linter is concerned. I don't
want to hit in my MRs by mistake!
I did this with `sed`, and then rolled back some changes in the docs,
config.guess, and the linter itself.
Diffstat (limited to 'testsuite/tests/ffi')
-rw-r--r-- | testsuite/tests/ffi/should_compile/T11983.h | 2 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/capi_ctype_001.h | 2 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/capi_ctype_002_A.h | 2 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/capi_ctype_002_B.h | 2 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/fptr01.h | 2 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/fptrfail01.h | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/testsuite/tests/ffi/should_compile/T11983.h b/testsuite/tests/ffi/should_compile/T11983.h index 33c78cb9a4..c4b0a2038c 100644 --- a/testsuite/tests/ffi/should_compile/T11983.h +++ b/testsuite/tests/ffi/should_compile/T11983.h @@ -1,4 +1,4 @@ -#ifndef T11983_H +#if !defined(T11983_H) #define T11983_H #include <stdint.h> diff --git a/testsuite/tests/ffi/should_run/capi_ctype_001.h b/testsuite/tests/ffi/should_run/capi_ctype_001.h index 11add5bf3d..a51f030aa7 100644 --- a/testsuite/tests/ffi/should_run/capi_ctype_001.h +++ b/testsuite/tests/ffi/should_run/capi_ctype_001.h @@ -1,5 +1,5 @@ -#ifndef __capi_ctype_001_H__ +#if !defined(__capi_ctype_001_H__) #define __capi_ctype_001_H__ typedef struct { diff --git a/testsuite/tests/ffi/should_run/capi_ctype_002_A.h b/testsuite/tests/ffi/should_run/capi_ctype_002_A.h index 26928a3436..e6b5dc0504 100644 --- a/testsuite/tests/ffi/should_run/capi_ctype_002_A.h +++ b/testsuite/tests/ffi/should_run/capi_ctype_002_A.h @@ -1,5 +1,5 @@ -#ifndef __capi_ctype_002_A_H__ +#if !defined(__capi_ctype_002_A_H__) #define __capi_ctype_002_A_H__ typedef struct { diff --git a/testsuite/tests/ffi/should_run/capi_ctype_002_B.h b/testsuite/tests/ffi/should_run/capi_ctype_002_B.h index 6928290f47..fb6cef8caf 100644 --- a/testsuite/tests/ffi/should_run/capi_ctype_002_B.h +++ b/testsuite/tests/ffi/should_run/capi_ctype_002_B.h @@ -1,5 +1,5 @@ -#ifndef __capi_ctype_002_B_H__ +#if !defined(__capi_ctype_002_B_H__) #define __capi_ctype_002_B_H__ #define f(p) p->j diff --git a/testsuite/tests/ffi/should_run/fptr01.h b/testsuite/tests/ffi/should_run/fptr01.h index b50cc41776..8862c9b9ce 100644 --- a/testsuite/tests/ffi/should_run/fptr01.h +++ b/testsuite/tests/ffi/should_run/fptr01.h @@ -1,4 +1,4 @@ -#ifndef FPTR01_H_INCLUDED +#if !defined(FPTR01_H_INCLUDED) #define FPTR01_H_INCLUDED void f( HsInt * ); diff --git a/testsuite/tests/ffi/should_run/fptrfail01.h b/testsuite/tests/ffi/should_run/fptrfail01.h index 3e10d8bd7a..a1611b300a 100644 --- a/testsuite/tests/ffi/should_run/fptrfail01.h +++ b/testsuite/tests/ffi/should_run/fptrfail01.h @@ -1,4 +1,4 @@ -#ifndef FPTRFAIL01_H_INCLUDED +#if !defined(FPTRFAIL01_H_INCLUDED) #define FPTRFAIL01_H_INCLUDED void f( HsInt * ); |