From 94c96554e093f4b6cc947125f60e8da39031f08c Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Thu, 5 Dec 2013 22:03:58 +0100 Subject: Cleanup of the prototypes * device/cirbuf.h (nqdb): Remove prototype without definition. * device/conf.h (dev_set_indirect): Likewise. * kern/boot_script.h (boot_script_read_file): Likewise. * kern/eventcount.h (evc_notify_abort): Remove duplicate prototype. * kern/thread.h (thread_set_own_priority): Likewise. * kern/thread_swap.h (thread_swapout): Remove prototype without definition. * kern/timer.h (softclock): Remove duplicate prototype. * vm/pmap.h (pmap_resident_count, pmap_access, pmap_phys_address, pmap_phys_to_frame): Remove prototypes without function definition. * vm/vm_page.h (vm_set_page_size): Likewise. --- device/cirbuf.h | 1 - device/conf.h | 5 ----- 2 files changed, 6 deletions(-) (limited to 'device') diff --git a/device/cirbuf.h b/device/cirbuf.h index a3f50ce..5e4360b 100644 --- a/device/cirbuf.h +++ b/device/cirbuf.h @@ -52,7 +52,6 @@ extern int putc(int, struct cirbuf *); extern int getc(struct cirbuf *); extern int q_to_b(struct cirbuf *, char *, int); extern int b_to_q(char *, int, struct cirbuf *); -extern int nqdb(struct cirbuf *, int); extern void ndflush(struct cirbuf *, int); extern void cb_clear(struct cirbuf *); diff --git a/device/conf.h b/device/conf.h index e91e099..8aacc86 100644 --- a/device/conf.h +++ b/device/conf.h @@ -105,10 +105,5 @@ extern int dev_indirect_count; di < &dev_indirect_list[dev_indirect_count]; \ di++) -/* - * Exported routine to set indirection. - */ -extern void dev_set_indirect(char *, dev_ops_t, int); - #endif /* _DEVICE_CONF_H_ */ -- cgit v1.2.3