~ubuntu-branches/ubuntu/precise/grass/precise

« back to all changes in this revision

Viewing changes to raster/r.random.cells/main.c

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2011-04-13 17:08:41 UTC
  • mfrom: (8.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110413170841-ss1t9bic0d0uq0gz
Tags: 6.4.1-1
* New upstream version.
* Now build-dep on libjpeg-dev and current libreadline6-dev.
* Removed patch swig: obsolete.
* Policy bumped to 3.9.2, without changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 *               Brad Douglas <rez touchofmadness.com>, Glynn Clements <glynn gclements.plus.com>
10
10
 * PURPOSE:      generates a random sets of cells that are at least
11
11
 *               some distance apart
12
 
 * COPYRIGHT:    (C) 1999-2006 by the GRASS Development Team
 
12
 * COPYRIGHT:    (C) 1999-2008 by the GRASS Development Team
13
13
 *
14
14
 *               This program is free software under the GNU General Public
15
15
 *               License (>=v2). Read the file COPYING that comes with GRASS
16
16
 *               for details.
17
17
 *
18
18
 *****************************************************************************/
19
 
#undef TRACE
20
 
#undef DEBUG
21
 
 
22
 
#define MAIN
23
19
#include <stdlib.h>
24
20
#include <grass/gis.h>
25
21
#include <grass/glocale.h>
 
22
 
 
23
#define MAIN
26
24
#include "ransurf.h"
27
25
#include "local_proto.h"
28
26
#undef MAIN
31
29
{
32
30
    struct GModule *module;
33
31
 
34
 
    FUNCTION(main);
35
 
 
36
32
    G_gisinit(argv[0]);
37
33
    /* Set description */
38
34
    module = G_define_module();
39
 
    module->keywords = _("raster");
 
35
    module->keywords = _("raster, random, cell");
40
36
    module->description =
41
37
        _("Generates random cell values with spatial dependence.");
42
38
 
43
39
    Init(argc, argv);
44
40
    Indep();
 
41
    
 
42
    G_done_msg(" ");
 
43
    
45
44
    exit(EXIT_SUCCESS);
46
45
}