#include <cdt.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifndef FALSE
#define FALSE (0)
#endif
extern Agsym_t *agattr(Agraph_t * g, int kind, char *name, char *value);
extern Agsym_t *agattrsym(void *obj, char *name);
extern Agsym_t *agnxtattr(Agraph_t * g, int kind, Agsym_t * attr);
-extern int agcopyattr(void *old, void *new);
+extern int agcopyattr(void *oldobj, void *newobj);
extern void *agbindrec(void *obj, char *name, unsigned int size,
int move_to_front);
#if _PACKAGE_ast
_END_EXTERNS_
#endif
+#ifdef __cplusplus
+}
+#endif
#endif