Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines for 2022.
[simgrid.git] / src / xbt / mmalloc / mrealloc.c
index 1bdd724..192183a 100644 (file)
@@ -1,6 +1,6 @@
 /* Change the size of a block allocated by `mmalloc'. */
 
-/* Copyright (c) 2010-2020. The SimGrid Team.
+/* Copyright (c) 2010-2022. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -73,7 +73,7 @@ void *mrealloc(xbt_mheap_t mdp, void *ptr, size_t size)
       result = mmalloc(mdp, size);
       memcpy(result, ptr, requested_size);
       mfree(mdp, ptr);
-      return (result);
+      return result;
     }
 
     /* Full blocks -> Full blocks; see if we can hold it in place. */
@@ -148,5 +148,5 @@ void *mrealloc(xbt_mheap_t mdp, void *ptr, size_t size)
     }
     break;
   }
-  return (result);
+  return result;
 }