diff options
author | Benoît Dejean <TazForEver@dlfp.org> | 2005-01-06 17:42:56 +0000 |
---|---|---|
committer | Murray Cumming <murrayc@src.gnome.org> | 2005-01-06 17:42:56 +0000 |
commit | 986c73c4bf6e98e79bbb3bed2f2a12eb2f25340b (patch) | |
tree | d5d925082d46fb2a16ffcf86ecf729a505d0d17c /glib/glibmm/dispatcher.cc | |
parent | aa7cf45ccfc5a57229bc6c963a8609b34e236dcc (diff) | |
download | glibmm-986c73c4bf6e98e79bbb3bed2f2a12eb2f25340b.tar.gz |
Don't export private API. Closes #163031.
2005-01-06 Benoît Dejean <TazForEver@dlfp.org>
* glib/glibmm/dispatcher.cc:
* glib/glibmm/error.cc:
* glib/glibmm/exceptionhandler.cc:
* glib/glibmm/main.cc:
* glib/glibmm/threadpool.cc:
* glib/glibmm/ustring.cc:
* glib/glibmm/wrap.cc: Don't export private API.
Closes #163031.
Diffstat (limited to 'glib/glibmm/dispatcher.cc')
-rw-r--r-- | glib/glibmm/dispatcher.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/glib/glibmm/dispatcher.cc b/glib/glibmm/dispatcher.cc index f2c76f67..7312707d 100644 --- a/glib/glibmm/dispatcher.cc +++ b/glib/glibmm/dispatcher.cc @@ -54,7 +54,7 @@ struct DispatchNotifyData : tag (tag_), dispatcher (dispatcher_), notifier (notifier_) {} }; -void warn_failed_pipe_io(const char* what, int err_no) +static void warn_failed_pipe_io(const char* what, int err_no) { #ifdef G_OS_WIN32 const char *const message = g_win32_error_message(err_no); @@ -69,7 +69,7 @@ void warn_failed_pipe_io(const char* what, int err_no) * Try to set the close-on-exec flag of the file descriptor, * so that it won't be leaked if a new process is spawned. */ -void fd_set_close_on_exec(int fd) +static void fd_set_close_on_exec(int fd) { const int flags = fcntl(fd, F_GETFD, 0); g_return_if_fail(flags >= 0); @@ -82,7 +82,7 @@ void fd_set_close_on_exec(int fd) * One word: paranoia. */ #ifdef G_OS_WIN32 -void fd_close_and_invalidate(HANDLE& fd) +static void fd_close_and_invalidate(HANDLE& fd) { if(fd != 0) { @@ -93,7 +93,7 @@ void fd_close_and_invalidate(HANDLE& fd) } } #else /* !G_OS_WIN32 */ -void fd_close_and_invalidate(int& fd) +static void fd_close_and_invalidate(int& fd) { if(fd >= 0) { |