aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/gdb-xfree.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2023-02-08 15:36:23 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2023-02-08 15:46:02 -0500
commitc583a2520616c2736cffc389c89a48b159366e6c (patch)
treeb4925f26506fcee96c16119431c01760f05db95d /gdbsupport/gdb-xfree.h
parentca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff)
downloadbinutils-users/simark/clang-format.zip
binutils-users/simark/clang-format.tar.gz
binutils-users/simark/clang-format.tar.bz2
Run clang-format.shusers/simark/clang-format
Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968
Diffstat (limited to 'gdbsupport/gdb-xfree.h')
-rw-r--r--gdbsupport/gdb-xfree.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdbsupport/gdb-xfree.h b/gdbsupport/gdb-xfree.h
index 1fb326d..cb5d7d9 100644
--- a/gdbsupport/gdb-xfree.h
+++ b/gdbsupport/gdb-xfree.h
@@ -23,7 +23,7 @@
/* GDB uses this instead of 'free', it detects when it is called on an
invalid type. */
-template <typename T>
+template<typename T>
static void
xfree (T *ptr)
{
@@ -32,9 +32,9 @@ data type. Use operator delete instead.");
if (ptr != NULL)
#ifdef GNULIB_NAMESPACE
- GNULIB_NAMESPACE::free (ptr); /* ARI: free */
+ GNULIB_NAMESPACE::free (ptr); /* ARI: free */
#else
- free (ptr); /* ARI: free */
+ free (ptr); /* ARI: free */
#endif
}