Now using 2 spaces instead of tabs. Fix copyright years. Improve documentation
[cgds.git] / src / safe_alloc.h
index 6771cc8..aab739d 100644 (file)
@@ -14,7 +14,7 @@
  * @return A pointer to the newly allocated area; exit program if fail.
  */
 void* safe_malloc(
-       size_t size ///< Size of the block to allocate, in bytes.
+  size_t size ///< Size of the block to allocate, in bytes.
 );
 
 /**
@@ -22,8 +22,8 @@ void* safe_malloc(
  * @return A pointer to the newly allocated area; exit program if fail.
  */
 void* safe_calloc(
-       size_t count, ///< Number of elements to allocate.
-       size_t size ///< Size of the element to allocate, in bytes.
+  size_t count, ///< Number of elements to allocate.
+  size_t size ///< Size of the element to allocate, in bytes.
 );
 
 /**
@@ -31,15 +31,15 @@ void* safe_calloc(
  * @return A pointer to the newly allocated area; exit program if fail.
  */
 void* safe_realloc(
-       void* ptr, ///< Pointer on the area to be relocated.
-       size_t size ///< Size of the block to reallocate, in bytes.
+  void* ptr, ///< Pointer on the area to be relocated.
+  size_t size ///< Size of the block to reallocate, in bytes.
 );
 
 /**
  * @brief Wrapper around stdlib free function.
  */
 void safe_free(
-       void* ptr ///< Pointer on the area to be destroyed.
+  void* ptr ///< Pointer on the area to be destroyed.
 );
 
 #endif