patch-1.3.62 linux/include/linux/random.h
Next file: linux/include/linux/sched.h
Previous file: linux/include/linux/msdos_fs_i.h
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Sun Feb 11 12:41:34 1996
- Orig file:
v1.3.61/linux/include/linux/random.h
- Orig date:
Thu Jan 4 21:54:59 1996
diff -u --recursive --new-file v1.3.61/linux/include/linux/random.h linux/include/linux/random.h
@@ -25,18 +25,20 @@
#ifdef __KERNEL__
-void rand_initialize(void);
-void rand_initialize_irq(int irq);
-void rand_initialize_blkdev(int irq, int mode);
+extern void rand_initialize(void);
+extern void rand_initialize_irq(int irq);
+extern void rand_initialize_blkdev(int irq, int mode);
-void add_keyboard_randomness(unsigned char scancode);
-void add_mouse_randomness(__u32 mouse_data);
-void add_interrupt_randomness(int irq);
-void add_blkdev_randomness(int major);
+extern void add_keyboard_randomness(unsigned char scancode);
+extern void add_mouse_randomness(__u32 mouse_data);
+extern void add_interrupt_randomness(int irq);
+extern void add_blkdev_randomness(int major);
-void get_random_bytes(void *buf, int nbytes);
+extern void get_random_bytes(void *buf, int nbytes);
-struct file_operations random_fops, urandom_fops;
+#ifndef MODULE
+extern struct file_operations random_fops, urandom_fops;
+#endif
#endif /* __KERNEL___ */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this