summaryrefslogtreecommitdiff
path: root/device
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-05 22:03:58 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-09 00:27:58 +0900
commit94c96554e093f4b6cc947125f60e8da39031f08c (patch)
tree08d25c95d8899724bfaf0723c131e51d3f3f59af /device
parentb848914aac388e82948aa2b277c5a1edf3de158d (diff)
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.
Diffstat (limited to 'device')
-rw-r--r--device/cirbuf.h1
-rw-r--r--device/conf.h5
2 files changed, 0 insertions, 6 deletions
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_ */