aboutsummaryrefslogtreecommitdiffstats
path: root/src/image.c
diff options
context:
space:
mode:
authorPaul Eggert <[email protected]>2013-10-28 14:19:38 -0700
committerPaul Eggert <[email protected]>2013-10-28 14:19:38 -0700
commitb7e0ef72d0ac61b5d3ef06a3f565695c75ec2540 (patch)
treee79af5cd4685cc074a535d8454babf650a82e48d /src/image.c
parent4efc33f01d0344a52670eb0c0250d5ef40bb7952 (diff)
* dispextern.h, image.c (x_bitmap_height, x_bitmap_width): Now static.
* xfaces.c (load_pixmap): Omit last two args, which are always NULL in practice now. All callers changed.
Diffstat (limited to 'src/image.c')
-rw-r--r--src/image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/image.c b/src/image.c
index 2b07b83b81..6691cfc8a1 100644
--- a/src/image.c
+++ b/src/image.c
@@ -159,13 +159,13 @@ XPutPixel (XImagePtr ximage, int x, int y, unsigned long pixel)
/* Functions to access the contents of a bitmap, given an id. */
-int
+static int
x_bitmap_height (struct frame *f, ptrdiff_t id)
{
return FRAME_DISPLAY_INFO (f)->bitmaps[id - 1].height;
}
-int
+static int
x_bitmap_width (struct frame *f, ptrdiff_t id)
{
return FRAME_DISPLAY_INFO (f)->bitmaps[id - 1].width;