changeset 504:969530d69aac

Make image_osd_histogram_onoff_toggle() and image_osd_histogram_onoff_status() static.
author zas_
date Wed, 23 Apr 2008 23:51:02 +0000
parents e5023cced4e5
children 60f75a9799b2
files src/image-overlay.c src/image-overlay.h
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/image-overlay.c	Wed Apr 23 23:47:53 2008 +0000
+++ b/src/image-overlay.c	Wed Apr 23 23:51:02 2008 +0000
@@ -93,14 +93,14 @@
  */
 
 
-void image_osd_histogram_onoff_toggle(ImageWindow *imd, gint x)
+static void image_osd_histogram_onoff_toggle(ImageWindow *imd, gint x)
 {
 	imd->histogram_enabled = !!(x);
 	if (imd->histogram_enabled && !imd->histogram)
 		imd->histogram = histogram_new();
 }
 
-gint image_osd_histogram_onoff_status(ImageWindow *imd)
+static gint image_osd_histogram_onoff_status(ImageWindow *imd)
 {
       return imd->histogram_enabled;
 }
--- a/src/image-overlay.h	Wed Apr 23 23:47:53 2008 +0000
+++ b/src/image-overlay.h	Wed Apr 23 23:51:02 2008 +0000
@@ -33,8 +33,6 @@
 
 void image_osd_icon(ImageWindow *imd, ImageOSDFlag flag, gint duration);
 
-void image_osd_histogram_onoff_toggle(ImageWindow *, gint);
-gint image_osd_histogram_onoff_status(ImageWindow *);
 void image_osd_histogram_chan_toggle(ImageWindow *);
 void image_osd_histogram_log_toggle(ImageWindow *);