This was designed to allow one declaration of Ag_G_global serve as both
declaration and definition. However, this obscures the actual definition of this
variable from any code browser unable to evaluate macro expansion (e.g. Cscope).
There's no real need for this trick, as we can just define the variable as
normal.
#define ATT_GRAPHPVT_H 1
#define _BLD_cgraph 1
-#ifndef EXTERN
-#define EXTERN extern
-#endif
-
#ifdef _WIN32
# ifdef EXPORT_CGHDR
# define CGHDR_API __declspec(dllexport)
int preorder);
/* global variables */
-EXTERN Agraph_t *Ag_G_global;
+extern Agraph_t *Ag_G_global;
extern char *AgDataRecName;
/* set ordering disciplines */
* Contributors: See CVS logs. Details at http://www.graphviz.org/
*************************************************************************/
-#define EXTERN
#include <cghdr.h>
+Agraph_t *Ag_G_global;
+
const char AgraphVersion[] = PACKAGE_VERSION;
/*