| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* | 
|  | 2 | * Copyright (C) 2000 Jeff Dike (jdike@karaya.com) | 
|  | 3 | * Licensed under the GPL | 
|  | 4 | */ | 
|  | 5 |  | 
|  | 6 | #ifndef __USER_H__ | 
|  | 7 | #define __USER_H__ | 
|  | 8 |  | 
| Paolo 'Blaisorblade' Giarrusso | 9cf85b3 | 2006-04-10 22:53:31 -0700 | [diff] [blame] | 9 | extern void panic(const char *fmt, ...) | 
|  | 10 | __attribute__ ((format (printf, 1, 2))); | 
|  | 11 | extern int printk(const char *fmt, ...) | 
|  | 12 | __attribute__ ((format (printf, 1, 2))); | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | extern void schedule(void); | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | extern int in_aton(char *str); | 
|  | 15 | extern int open_gdb_chan(void); | 
| Paolo 'Blaisorblade' Giarrusso | a8bfb94 | 2005-09-22 21:44:14 -0700 | [diff] [blame] | 16 | /* These use size_t, however unsigned long is correct on both i386 and x86_64. */ | 
|  | 17 | extern unsigned long strlcpy(char *, const char *, unsigned long); | 
|  | 18 | extern unsigned long strlcat(char *, const char *, unsigned long); | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 |  | 
|  | 20 | #endif | 
|  | 21 |  | 
|  | 22 | /* | 
|  | 23 | * Overrides for Emacs so that we follow Linus's tabbing style. | 
|  | 24 | * Emacs will notice this stuff at the end of the file and automatically | 
|  | 25 | * adjust the settings for this buffer only.  This must remain at the end | 
|  | 26 | * of the file. | 
|  | 27 | * --------------------------------------------------------------------------- | 
|  | 28 | * Local variables: | 
|  | 29 | * c-file-style: "linux" | 
|  | 30 | * End: | 
|  | 31 | */ |