diff options
-rw-r--r-- | test/testFuncs1.h | 11 | ||||
-rw-r--r-- | test/testFuncs2.h | 8 |
2 files changed, 19 insertions, 0 deletions
diff --git a/test/testFuncs1.h b/test/testFuncs1.h index 262a565..15d62be 100644 --- a/test/testFuncs1.h +++ b/test/testFuncs1.h @@ -16,6 +16,9 @@ extern union uni { } uni1;
extern cucu;
+int yetanotherheadervar;
+
+double yetanotherdoubleinsideaheader;
/***********************************************************************************************************/
/*choose the compiler*/
#define COMPILER GCC
@@ -130,6 +133,14 @@ void test28(void); int test29(int a);
int test31(void);
+void headerfund(void)
+{
+ int a;
+ int b;
+ int sum;
+ sum = a + b;
+}
+
void malloc (void);
#endif
/***********************************************************************************************************/
diff --git a/test/testFuncs2.h b/test/testFuncs2.h index 8f01004..55daba8 100644 --- a/test/testFuncs2.h +++ b/test/testFuncs2.h @@ -13,6 +13,9 @@ extern int bbbb[] = {1, 2, 3, 4, 5, 6}; int c[2][3] = {1, 2, 3, 4, 5, 6}; int d[2][3] = {{1, 2, 3}, {4, 5, 6}}; + +int headervar; +double headervardouble; /*********************************************************************************************************************/ /*funciton types go here.*/ static void test33(void); @@ -32,6 +35,11 @@ testFunc5( void) /**that kind*/ } +void anotherheaderfunc (void) +{ + /*i dont do jack.*/ +} + void testFunc9(void); /*********************************************************************************************************************/ |