aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--alloca.cc (renamed from src/alloca.cc)19
-rw-r--r--malloc.cc (renamed from src/malloc.cc)19
-rw-r--r--new.cc (renamed from src/new.cc)19
3 files changed, 30 insertions, 27 deletions
diff --git a/src/alloca.cc b/alloca.cc
index a46c69b..15dadcb 100644
--- a/src/alloca.cc
+++ b/alloca.cc
@@ -7,14 +7,15 @@
#include <cstdlib>
#include <alloca.h>
-int main(void)
+
+int
+main(void)
{
- char* a;
- size_t i;
-
- for (i = 0; i < 40000000UL; i++)
- a = (char*)alloca(16);
-
- return 0;
-}
+ char *a;
+ size_t i;
+ for (i = 0; i < 40000000UL; i++)
+ a = (char *)alloca(16);
+
+ return 0;
+}
diff --git a/src/malloc.cc b/malloc.cc
index 22b4cdb..18714c2 100644
--- a/src/malloc.cc
+++ b/malloc.cc
@@ -6,14 +6,15 @@
*/
#include <cstdlib>
-int main(void)
+
+int
+main(void)
{
- char* a;
- size_t i;
-
- for (i = 0; i < 40000000UL; i++)
- a = (char*)malloc(16);
-
- return 0;
-}
+ char *a;
+ size_t i;
+ for (i = 0; i < 40000000UL; i++)
+ a = (char *)malloc(16);
+
+ return 0;
+}
diff --git a/src/new.cc b/new.cc
index 5e96747..e463a2d 100644
--- a/src/new.cc
+++ b/new.cc
@@ -6,14 +6,15 @@
*/
#include <cstdlib>
-int main(void)
+
+int
+main(void)
{
- char* a;
- size_t i;
-
- for (i = 0; i < 40000000UL; i++)
- a = new char[16];
-
- return 0;
-}
+ char *a;
+ size_t i;
+ for (i = 0; i < 40000000UL; i++)
+ a = new char[16];
+
+ return 0;
+}