diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2023-02-08 15:36:23 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2023-02-08 15:46:02 -0500 |
commit | c583a2520616c2736cffc389c89a48b159366e6c (patch) | |
tree | b4925f26506fcee96c16119431c01760f05db95d /gdb/alloc.c | |
parent | ca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff) | |
download | gdb-users/simark/clang-format.zip gdb-users/simark/clang-format.tar.gz gdb-users/simark/clang-format.tar.bz2 |
Run clang-format.shusers/simark/clang-format
Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968
Diffstat (limited to 'gdb/alloc.c')
-rw-r--r-- | gdb/alloc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/alloc.c b/gdb/alloc.c index 82be0a6..2d09cfc 100644 --- a/gdb/alloc.c +++ b/gdb/alloc.c @@ -54,7 +54,7 @@ xmalloc (size_t size) if (size == 0) size = 1; - val = malloc (size); /* ARI: malloc */ + val = malloc (size); /* ARI: malloc */ if (val == NULL) malloc_failure (size); @@ -72,9 +72,9 @@ xrealloc (void *ptr, size_t size) size = 1; if (ptr != NULL) - val = realloc (ptr, size); /* ARI: realloc */ + val = realloc (ptr, size); /* ARI: realloc */ else - val = malloc (size); /* ARI: malloc */ + val = malloc (size); /* ARI: malloc */ if (val == NULL) malloc_failure (size); @@ -94,7 +94,7 @@ xcalloc (size_t number, size_t size) size = 1; } - mem = calloc (number, size); /* ARI: xcalloc */ + mem = calloc (number, size); /* ARI: xcalloc */ if (mem == NULL) malloc_failure (number * size); |