summaryrefslogtreecommitdiff
path: root/src/globals.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2006-05-24 02:25:22 +0000
committersabetts <sabetts>2006-05-24 02:25:22 +0000
commit4fbb5009496ef087a9c3c96d5bc1c28f23502005 (patch)
tree309524c9fed43c6fd8618f09504f5eb050bff8df /src/globals.c
parent223a2ab205969ea090d5c80bb2a430c0e51b75ae (diff)
downloadratpoison-4fbb5009496ef087a9c3c96d5bc1c28f23502005.zip
* src/xinerama.c (free_xinerama): take void arguments. prototype updated.
(init_xinerama): likewise * src/window.c (init_window_stuff): take void arguments. prototype updated. (free_window_stuff): likewise * src/split.c (remove_all_splits): take void arguments. prototype updated. (current_frame): likewise (init_frame_lists): likewise (find_last_frame): likewise (current_window): likewise (remove_all_splits): likewise (hide_frame_indicator): likewise (show_frame_indicator): likewise * src/main.c (check_child_procs): take void arguments. prototype updated. (clean_up): likewise * src/number.c (numset_new): take void arguments. prototype updated. * src/manage.c (clear_unmanaged_list): take void arguments. prototype updated. (list_unmanaged_windows): likewise (ungrab_keys_all_wins): likewise (grab_keys_all_wins): likewise (current_screen): likewise (unhide_all_windows): likewise * src/main.c (sighandler): static function (hup_handler): likewise (alrm_handler): likewise (handler): likewise (print_version): likewise (print_help): likewise (show_welcome_message): take void arguments (init_defaults): likewise * src/input.c (ring_bell): take void arguments. prototype updated (update_modifier_map): likewise * src/history.c (get_history_filename): take void arguments (history_load): take void arguments. prototype updated (history_save): likewise (history_reset): likewise (history_previous): likewise (history_next): likewise (history_list_items): likewise * src/group.c (group_in_list): static function (init_groups): take void arguments. prototype updated (free_groups): likewise (group_next_group): likewise (group_prev_group): likewise * src/globals.c (x_export_selection): take void arguments (get_cut_buffer): likewise (get_primary_selection): likewise (get_selection): take void arguments. protype updated. (init_globals): likewise * src/events.c (selection_clear): take void arguments (handle_signals): likewise (listen_for_events): take void argumens. prototype updated * src/bar.c (reset_alarm): take void arguments (show_last_message): take void arguments. prototype updated. (free_bar): likewise * src/actions.c (init_set_vars): static function. take void arguments (clear_frame_redos): take void arguments (pop_frame_undo): likewise (pop_frame_redo): likewise (keymap_new): static function (parse_keydesc): likewise (trivial_completions): likewise (keymap_completions): likewise (window_completions): likewise (group_completions): likewise (colon_completions): likewise (exec_completions): likewise (hook_completions): likewise (var_completions): likewise (update_all_gcs): take void arguments (grab_rat): likewise (ungrab_rat): likewise (init_user_commands): take void arguments. prototype updated. (free_keymaps): likewise (free_aliases): likewise
Diffstat (limited to 'src/globals.c')
-rw-r--r--src/globals.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/globals.c b/src/globals.c
index 6534cc8..42fc985 100644
--- a/src/globals.c
+++ b/src/globals.c
@@ -84,7 +84,7 @@ struct numset *rp_frame_numset;
rp_xselection selection;
static void
-x_export_selection ()
+x_export_selection (void)
{
/* Hang the selections off screen 0's key window. */
XSetSelectionOwner(dpy, XA_PRIMARY, screens[0].key_window, CurrentTime);
@@ -126,7 +126,7 @@ set_selection (char *txt)
}
static char *
-get_cut_buffer ()
+get_cut_buffer (void)
{
int nbytes;
char *data;
@@ -148,7 +148,7 @@ get_cut_buffer ()
/* Lifted the code from rxvt. */
static char *
-get_primary_selection()
+get_primary_selection(void)
{
long nread;
unsigned long bytes_after;
@@ -175,7 +175,7 @@ get_primary_selection()
}
char *
-get_selection ()
+get_selection (void)
{
Atom property;
XEvent ev;
@@ -257,7 +257,7 @@ LIST_HEAD (rp_frame_undos);
LIST_HEAD (rp_frame_redos);
void
-init_globals ()
+init_globals (void)
{
selection.text = NULL;
selection.len = 0;