summaryrefslogtreecommitdiff
path: root/stddef.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-03-01 19:52:55 -0500
committerJakob Kaivo <jkk@ung.org>2019-03-01 19:52:55 -0500
commit47fbd9c2bd6c59b46fcf4c93851192cbb9240ebb (patch)
treee204d4ef83c542167c9510006ba9490c79cc4caa /stddef.c
parent3819846f8ad95b40d98d0a544fd16533590e30cb (diff)
move test variables into function body
Diffstat (limited to 'stddef.c')
-rw-r--r--stddef.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/stddef.c b/stddef.c
index 069225e..e031867 100644
--- a/stddef.c
+++ b/stddef.c
@@ -1,12 +1,12 @@
#include <stddef.h>
#include "test.h"
-static ptrdiff_t ptrdiff;
-static size_t size;
-static wchar_t wchar;
-
void test_stddef_h(void)
{
+ ptrdiff_t ptrdiff;
+ size_t size;
+ wchar_t wchar;
+
struct s {
char a;
char b;