Skip to content

Commit

Permalink
added configs
Browse files Browse the repository at this point in the history
Signed-off-by: Nishant Bansal <[email protected]>
  • Loading branch information
NishantBansal2003 committed Nov 10, 2024
1 parent 549c0b1 commit a0d031e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/Make/Grass.make
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ NVIZDEPS = $(OGSFLIB) $(GISLIB) $(OPENGLLIB)
OGSFDEPS = $(BITMAPLIB) $(RASTER3DLIB) $(VECTORLIB) $(DBMILIB) $(RASTERLIB) $(GISLIB) $(TIFFLIBPATH) $(TIFFLIB) $(OPENGLLIB) $(OPENGLULIB) $(MATHLIB)
PNGDRIVERDEPS = $(DRIVERLIB) $(GISLIB) $(PNGLIB) $(MATHLIB)
PSDRIVERDEPS = $(DRIVERLIB) $(GISLIB) $(MATHLIB)
RASTERDEPS = $(GISLIB) $(GPROJLIB) $(MATHLIB) $(PARSONLIB)
RASTERDEPS = $(PARSONLIB) $(GISLIB) $(GPROJLIB) $(MATHLIB)
RLIDEPS = $(RASTERLIB) $(GISLIB) $(MATHLIB)
ROWIODEPS = $(GISLIB)
RTREEDEPS = $(GISLIB) $(MATHLIB)
Expand Down
1 change: 1 addition & 0 deletions lib/raster/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
MODULE_TOPDIR = ../..

LIB = RASTER
LIBES = $(PARSONLIB)
EXTRA_INC =

include $(MODULE_TOPDIR)/include/Make/Vars.make
Expand Down
6 changes: 3 additions & 3 deletions lib/raster/json_color_out.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
#include <stdlib.h>
#include <string.h>

#include <grass/parson.h>
#include <grass/gis.h>
#include <grass/glocale.h>
#include <grass/parson.h>
#include <grass/raster.h>

#define COLOR_STRING_LENGTH 30
Expand Down Expand Up @@ -166,8 +166,8 @@ static void write_json_rule(DCELL *val, DCELL *min, DCELL *max, int r, int g,
\param perc TRUE for percentage output
\param clr_frmt color format to be used (RBG, HEX, HSV, TRIPLET).
*/
void Rast_print_json_colors(struct Colors *colors, DCELL min, DCELL max, FILE *fp,
int perc, ColorFormat clr_frmt)
void Rast_print_json_colors(struct Colors *colors, DCELL min, DCELL max,
FILE *fp, int perc, ColorFormat clr_frmt)
{
JSON_Value *root_value = json_value_init_array();
if (root_value == NULL) {
Expand Down

0 comments on commit a0d031e

Please sign in to comment.