Browse Source

Made get_header() static.

Ioannis Koutras 14 years ago
parent
commit
f4228a7def
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/block_header.c

+ 2 - 2
src/block_header.c

@@ -5,9 +5,9 @@
  *
  * \param ptr The data part of the memory block.
  */
-block_header_t * get_header(void *ptr);
+static block_header_t * get_header(void *ptr);
 
-block_header_t * get_header(void *ptr) {
+static block_header_t * get_header(void *ptr) {
     return (block_header_t *) ((char *) ptr - HEADER_SIZE);
 }