1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

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.
This commit is contained in:
Miciah Dashiel Butler Masters 2008-07-08 07:06:31 +00:00
parent 6cf099a087
commit a3ad625122
2 changed files with 9 additions and 5 deletions

View File

@ -23,17 +23,20 @@
/* Implementation of the listbox operations */ /* 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); 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); return is_object_used((struct global_history_item *) item->udata);
} }

View File

@ -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) : "<none>"); ex ? fd_set_str(buf_ex,sizeof(buf_ex),ex,num_fds) : "<none>");
} }
static int select_read (int fd, struct fd_set *rd) static int
select_read(int fd, struct fd_set *rd)
{ {
int rc = 0; int rc = 0;
HANDLE hnd = (HANDLE) fd; HANDLE hnd = (HANDLE) fd;