summaryrefslogtreecommitdiff
path: root/src/history.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/history.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/history.c')
-rw-r--r--src/history.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/history.c b/src/history.c
index e8e513a..1da410e 100644
--- a/src/history.c
+++ b/src/history.c
@@ -29,7 +29,7 @@
#include "readline/history.h"
static char *
-get_history_filename ()
+get_history_filename (void)
{
char *homedir = getenv ("HOME");
char *filename;
@@ -48,7 +48,7 @@ get_history_filename ()
}
void
-history_load ()
+history_load (void)
{
char *filename = get_history_filename ();
@@ -59,7 +59,7 @@ history_load ()
}
void
-history_save ()
+history_save (void)
{
char *filename = get_history_filename ();
@@ -76,7 +76,7 @@ history_resize (int size)
}
void
-history_reset ()
+history_reset (void)
{
using_history();
}
@@ -94,7 +94,7 @@ history_add (char *item)
}
char *
-history_previous ()
+history_previous (void)
{
HIST_ENTRY *h = NULL;
@@ -104,7 +104,7 @@ history_previous ()
}
char *
-history_next ()
+history_next (void)
{
HIST_ENTRY *h = NULL;
@@ -114,7 +114,7 @@ history_next ()
}
char *
-history_list_items ()
+history_list_items (void)
{
HIST_ENTRY **hlist;
struct sbuf *list;