Commit 8f3a04e1 authored by Tor Lillqvist's avatar Tor Lillqvist
Browse files

Include <string.h>.

	* tools/pdbgen/pdb/*.pdb: Include <string.h>.

	* tools/pdbgen/pdb/fileops.pdb: Must have a statement (even an
 	empty one) after a label.
parent e7c8de57
......@@ -172,7 +172,7 @@ CODE
);
}
@headers = qw("brush_select.h");
@headers = qw(<string.h> "brush_select.h");
$extra{app}->{code} = <<'CODE';
static BrushSelectP
......
......@@ -125,7 +125,7 @@ HELP
);
%invoke = (
headers => [ qw("palette.h") ],
headers => [ qw(<string.h> "palette.h") ],
code => <<'CODE'
{
if ((success = (gimage_base_type (gimage) != INDEXED)))
......
......@@ -227,7 +227,7 @@ HELP
success = TRUE;
done:
done: ;
}
CODE
);
......@@ -297,7 +297,7 @@ HELP
success = TRUE;
done:
done: ;
}
CODE
);
......
......@@ -1180,7 +1180,7 @@ CODE
SUB
}
@headers = qw("gimage.h");
@headers = qw(<string.h> "gimage.h");
$extra{app}->{code} = <<'CODE';
/* Yuup, this is somewhat unsmooth, to say the least */
......
......@@ -255,7 +255,7 @@ CODE
);
}
@headers = qw("gradient_header.h" "gradient.h");
@headers = qw(<string.h> "gradient_header.h" "gradient.h");
$extra{app}->{code} = <<'CODE';
static GradSelectP
......
......@@ -1180,7 +1180,7 @@ CODE
SUB
}
@headers = qw("gimage.h");
@headers = qw(<string.h> "gimage.h");
$extra{app}->{code} = <<'CODE';
/* Yuup, this is somewhat unsmooth, to say the least */
......
......@@ -463,7 +463,7 @@ CODE
}
@headers = qw("gimage.h" "pathsP.h");
@headers = qw(<string.h> "gimage.h" "pathsP.h");
@procs = qw(path_list path_get_points path_get_current path_set_current
path_set_points path_stroke_current path_get_point_at_dist
......
......@@ -142,7 +142,7 @@ CODE
);
}
@headers = qw("pattern_select.h");
@headers = qw(<string.h> "pattern_select.h");
$extra{app}->{code} = <<'CODE';
static PatternSelectP
......
......@@ -389,7 +389,7 @@ CODE
);
}
@headers = qw("config.h" "libgimp/gimpintl.h");
@headers = qw(<string.h> "config.h" "libgimp/gimpintl.h");
$extra{app}->{decls} = <<'CODE';
/* Query structure */
......
......@@ -245,7 +245,7 @@ HELP
);
}
@headers = qw("text_tool.h" <stdio.h>);
@headers = qw("text_tool.h" <stdio.h> <string.h>);
$extra{app}->{code} = <<'CODE';
static gchar *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment