projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6592540
)
Avoid "definition without prototype" warnings
author
John Darrington
<john@darrington.wattle.id.au>
Fri, 23 Oct 2015 07:42:43 +0000
(09:42 +0200)
committer
John Darrington
<john@darrington.wattle.id.au>
Fri, 23 Oct 2015 07:42:43 +0000
(09:42 +0200)
src/output/render.c
patch
|
blob
|
history
diff --git
a/src/output/render.c
b/src/output/render.c
index 94d89665b73f09cc2da9f4c367226524f47bb379..c50e1121e76d573a9e72132ce9dc2dd97f06d818 100644
(file)
--- a/
src/output/render.c
+++ b/
src/output/render.c
@@
-927,13
+927,13
@@
render_page_unref (struct render_page *page)
/* Returns the size of PAGE along AXIS. (This might be larger than the page
size specified in the parameters passed to render_page_create(). Use a
render_break to break up a render_page into page-sized chunks.) */
/* Returns the size of PAGE along AXIS. (This might be larger than the page
size specified in the parameters passed to render_page_create(). Use a
render_break to break up a render_page into page-sized chunks.) */
-int
+
static
int
render_page_get_size (const struct render_page *page, enum table_axis axis)
{
return page->cp[axis][page->n[axis] * 2 + 1];
}
render_page_get_size (const struct render_page *page, enum table_axis axis)
{
return page->cp[axis][page->n[axis] * 2 + 1];
}
-int
+
static
int
render_page_get_best_breakpoint (const struct render_page *page, int height)
{
int y;
render_page_get_best_breakpoint (const struct render_page *page, int height)
{
int y;
@@
-1085,7
+1085,7
@@
render_page_draw_cells (const struct render_page *page,
/* Renders PAGE, by calling the 'draw_line' and 'draw_cell' functions from the
render_params provided to render_page_create(). */
/* Renders PAGE, by calling the 'draw_line' and 'draw_cell' functions from the
render_params provided to render_page_create(). */
-void
+
static
void
render_page_draw (const struct render_page *page, int ofs[TABLE_N_AXES])
{
int bb[TABLE_N_AXES][2];
render_page_draw (const struct render_page *page, int ofs[TABLE_N_AXES])
{
int bb[TABLE_N_AXES][2];
@@
-1151,7
+1151,7
@@
get_clip_max_extent (int x1, const int cp[], int n)
/* Renders the cells of PAGE that intersect (X,Y)-(X+W,Y+H), by calling the
'draw_line' and 'draw_cell' functions from the render_params provided to
render_page_create(). */
/* Renders the cells of PAGE that intersect (X,Y)-(X+W,Y+H), by calling the
'draw_line' and 'draw_cell' functions from the render_params provided to
render_page_create(). */
-void
+
static
void
render_page_draw_region (const struct render_page *page,
int ofs[TABLE_N_AXES], int clip[TABLE_N_AXES][2])
{
render_page_draw_region (const struct render_page *page,
int ofs[TABLE_N_AXES], int clip[TABLE_N_AXES][2])
{