From a3ad625122b2f4b6ddef2f8368f120c219513451 Mon Sep 17 00:00:00 2001 From: Miciah Dashiel Butler Masters Date: Tue, 8 Jul 2008 07:06:31 +0000 Subject: [PATCH] Add newlines to some function signatures to comply with style standards Make the signatures for lock_globhist_item, unlock_globhist_item, is_globhist_item_used, and select_read comply with ELinks C style guidelines. --- src/globhist/dialogs.c | 11 +++++++---- src/osdep/win32/overrides.c | 3 ++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/globhist/dialogs.c b/src/globhist/dialogs.c index 57c40f8c4..11c3fbcd0 100644 --- a/src/globhist/dialogs.c +++ b/src/globhist/dialogs.c @@ -23,17 +23,20 @@ /* Implementation of the listbox operations */ -static void lock_globhist_item(struct listbox_item *item) +static void +lock_globhist_item(struct listbox_item *item) { object_lock((struct global_history_item *) item->udata); } -static void unlock_globhist_item(struct listbox_item *item) +static void +unlock_globhist_item(struct listbox_item *item) { - object_unlock((struct global_history_item *) item->udata); + done_global_history_item((struct global_history_item *) item->udata); } -static int is_globhist_item_used(struct listbox_item *item) +static int +is_globhist_item_used(struct listbox_item *item) { return is_object_used((struct global_history_item *) item->udata); } diff --git a/src/osdep/win32/overrides.c b/src/osdep/win32/overrides.c index 1b50d129f..be04991d3 100644 --- a/src/osdep/win32/overrides.c +++ b/src/osdep/win32/overrides.c @@ -543,7 +543,8 @@ select_dump(int num_fds, const fd_set *rd, const fd_set *wr, const fd_set *ex) ex ? fd_set_str(buf_ex,sizeof(buf_ex),ex,num_fds) : ""); } -static int select_read (int fd, struct fd_set *rd) +static int +select_read(int fd, struct fd_set *rd) { int rc = 0; HANDLE hnd = (HANDLE) fd;