Author: Ghostwolf <foxxe@wtfs.net>
[ircu2.10.12-pk.git] / include / fda.h
index 51022ebe7658ac62db6d9fe5e4976d54625994da..63a5eddebb0ab2197d902f244f906b0a56c1533e 100644 (file)
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ * $Id$
  */
 #ifndef INCLUDED_fda_h
 #define INCLUDED_fda_h
 
-#if !defined(NDEBUG)
+#if defined(MDEBUG)
 #ifndef INCLUDED_sys_types_h
 #include <sys/types.h>      /* size_t */
 #define INCLUDED_sys_types_h
 #endif
 
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 extern size_t fda_get_byte_count(void);
 extern size_t fda_get_block_count(void);
 extern size_t fda_sizeof(const void* p);
@@ -59,9 +57,6 @@ extern void  fda_free(void* p);
 extern void fda_set_lowmem_handler(void (*fn)(void));
 extern void fda_set_nomem_handler(void (*fn)(void));
 
-#ifdef __cplusplus
-}
-#endif
 
-#endif /* !defined(NDEBUG) */
+#endif /* defined(MDEBUG) */
 #endif /* INCLUDED_fda_h */