[med-svn] [aghermann] 62/85: static is useless in a main.cc, isn't it?

andrei zavada hmmr-guest at alioth.debian.org
Thu Sep 26 23:46:33 UTC 2013


This is an automated email from the git hooks/post-receive script.

hmmr-guest pushed a commit to branch master
in repository aghermann.

commit 1eedcdcf0f3d7418c1ff29ddae51befca312c434
Author: Andrei Zavada <johnhommer at gmail.com>
Date:   Sat Sep 21 02:36:34 2013 +0300

    static is useless in a main.cc, isn't it?
---
 upstream/src/tools/edfhed-gtk.cc |   20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/upstream/src/tools/edfhed-gtk.cc b/upstream/src/tools/edfhed-gtk.cc
index b2be58a..9587a31 100644
--- a/upstream/src/tools/edfhed-gtk.cc
+++ b/upstream/src/tools/edfhed-gtk.cc
@@ -52,8 +52,6 @@ void ui_fini();
 
 
 
-static void edf_data_to_widgets( const sigfile::CEDFFile&);
-static void widgets_to_edf_data( sigfile::CEDFFile&);
 
 sigfile::CEDFFile *Fp;
 
@@ -85,9 +83,11 @@ list<SChannelTmp>
 list<SChannelTmp>::iterator
         HTmpi;
 
-static void current_channel_data_to_widgets();
-static void widgets_to_current_channel_data();
-static void sensitize_channel_nav_buttons();
+void edf_data_to_widgets( const sigfile::CEDFFile&);
+void widgets_to_edf_data( sigfile::CEDFFile&);
+void current_channel_data_to_widgets();
+void widgets_to_current_channel_data();
+void sensitize_channel_nav_buttons();
 
 size_t channel_no;
 
@@ -200,7 +200,7 @@ edf_data_to_widgets( const sigfile::CEDFFile& F)
 
 
 
-static void
+void
 widgets_to_edf_data( sigfile::CEDFFile& F)
 {
         memcpy( F.header.patient_id,     agh::str::pad( gtk_entry_get_text( e[PatientID]),     80).c_str(), 80);
@@ -230,7 +230,7 @@ widgets_to_edf_data( sigfile::CEDFFile& F)
 
 
 
-static void
+void
 current_channel_data_to_widgets()
 {
         GString *tmp = g_string_new("");
@@ -258,7 +258,7 @@ current_channel_data_to_widgets()
         gtk_entry_set_text( e[ChannelReserved],         trim( HTmpi->Reserved        ).c_str());
 }
 
-static void
+void
 widgets_to_current_channel_data()
 {
         HTmpi->Label            = gtk_entry_get_text( e[ChannelLabel]);
@@ -274,7 +274,7 @@ widgets_to_current_channel_data()
 }
 
 
-static bool
+bool
 validate_all_widgets()
 {
         const char *str, *p;
@@ -307,6 +307,8 @@ validate_all_widgets()
 
 
 
+
+
 extern "C" void
 bNext_clicked_cb( GtkButton*, gpointer)
 {

-- 
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/aghermann.git



More information about the debian-med-commit mailing list