Browse code

core: small doxygen fix, synchronize a few function definitions with declarations

Henning Westerholt authored on 20/07/2011 20:49:21
Showing 1 changed files
... ...
@@ -114,10 +114,10 @@ struct fm_frag_lnk{
114 114
  * \see mem_info
115 115
  */
116 116
 struct fm_block{
117
-	unsigned long size; /* total size */
117
+	unsigned long size; /** total size */
118 118
 #if defined(DBG_F_MALLOC) || defined(MALLOC_STATS)
119
-	unsigned long used; /* alloc'ed size*/
120
-	unsigned long real_used; /* used+malloc overhead*/
119
+	unsigned long used; /** allocated size*/
120
+	unsigned long real_used; /** used + malloc overhead */
121 121
 	unsigned long max_real_used;
122 122
 #endif
123 123
 	
... ...
@@ -146,10 +146,10 @@ struct fm_block* fm_malloc_init(char* address, unsigned long size);
146 146
  * \return address of allocated memory
147 147
  */
148 148
 #ifdef DBG_F_MALLOC
149
-void* fm_malloc(struct fm_block*, unsigned long size,
149
+void* fm_malloc(struct fm_block* qm, unsigned long size,
150 150
 					const char* file, const char* func, unsigned int line);
151 151
 #else
152
-void* fm_malloc(struct fm_block*, unsigned long size);
152
+void* fm_malloc(struct fm_block* qm, unsigned long size);
153 153
 #endif
154 154
 
155 155
 
... ...
@@ -161,10 +161,10 @@ void* fm_malloc(struct fm_block*, unsigned long size);
161 161
  * \param p freed memory
162 162
  */
163 163
 #ifdef DBG_F_MALLOC
164
-void  fm_free(struct fm_block*, void* p, const char* file, const char* func, 
164
+void  fm_free(struct fm_block* qm, void* p, const char* file, const char* func, 
165 165
 				unsigned int line);
166 166
 #else
167
-void  fm_free(struct fm_block*, void* p);
167
+void  fm_free(struct fm_block* qm, void* p);
168 168
 #endif
169 169
 
170 170
 
... ...
@@ -178,10 +178,10 @@ void  fm_free(struct fm_block*, void* p);
178 178
  * \return reallocated memory block
179 179
  */
180 180
 #ifdef DBG_F_MALLOC
181
-void*  fm_realloc(struct fm_block*, void* p, unsigned long size, 
181
+void*  fm_realloc(struct fm_block* qm, void* p, unsigned long size, 
182 182
 					const char* file, const char* func, unsigned int line);
183 183
 #else
184
-void*  fm_realloc(struct fm_block*, void* p, unsigned long size);
184
+void*  fm_realloc(struct fm_block* qm, void* p, unsigned long size);
185 185
 #endif
186 186
 
187 187
 
... ...
@@ -189,7 +189,7 @@ void*  fm_realloc(struct fm_block*, void* p, unsigned long size);
189 189
  * \brief Report internal memory manager status
190 190
  * \param qm memory block
191 191
  */
192
-void  fm_status(struct fm_block*);
192
+void fm_status(struct fm_block* qm);
193 193
 
194 194
 
195 195
 /**
... ...
@@ -200,7 +200,7 @@ void  fm_status(struct fm_block*);
200 200
  * \param qm memory block
201 201
  * \param memory information
202 202
  */
203
-void  fm_info(struct fm_block*, struct mem_info*);
203
+void fm_info(struct fm_block* qm, struct mem_info* info);
204 204
 
205 205
 
206 206
 /**
... ...
@@ -209,7 +209,7 @@ void  fm_info(struct fm_block*, struct mem_info*);
209 209
  * \return Returns how much free memory is available, on error (not compiled
210 210
  * with bookkeeping code) returns (unsigned long)(-1)
211 211
  */
212
-unsigned long fm_available(struct fm_block*);
212
+unsigned long fm_available(struct fm_block* qm);
213 213
 
214 214
 
215 215
 /**
... ...
@@ -217,9 +217,9 @@ unsigned long fm_available(struct fm_block*);
217 217
  * \param qm memory block
218 218
  */
219 219
 #ifdef DBG_F_MALLOC
220
-void fm_sums(struct fm_block*);
220
+void fm_sums(struct fm_block* qm);
221 221
 #else
222
-#define fm_sums(v) do{}while(0)
222
+#define fm_sums(qm) do{}while(0)
223 223
 #endif /* DBG_F_MALLOC */
224 224
 
225 225
 #endif