]> AND Public Git Repository - simgrid.git/blobdiff - src/xbt/mmalloc/swag.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
new attempt.. this bit of code was not useful, it looks like.
[simgrid.git] / src / xbt / mmalloc / swag.c
index 8e070280273a1e3117fd80eb9c09974c02bfb7f5..e28a4283b13f1975dcf4d8881b78d1294abfa1f1 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2004-2019. The SimGrid Team.
+/* Copyright (c) 2004-2021. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -23,7 +23,7 @@ typedef const struct xbt_swag* const_xbt_swag_t;
 
 static inline void *xbt_swag_getFirst(const_xbt_swag_t swag)
 {
-  return (swag->head);
+  return swag->head;
 }
 
 /*
@@ -124,5 +124,5 @@ static inline void *xbt_swag_remove(void *obj, xbt_swag_t swag)
  */
 static inline int xbt_swag_size(const_xbt_swag_t swag)
 {
-  return (swag->count);
+  return swag->count;
 }