#define GLOBAL #include #include "global.h" #include #include int main (int argc, char *argv[]) { struct GModule *module; G_gisinit(argv[0]); module = G_define_module(); module->keywords = _("raster"); module->description = _("Reports statistics for raster map layers."); parse_command_line (argc, argv); G_get_window (&window); get_stats(); report(); exit(0); }