2002-02-02 04:17:29 +05:30
|
|
|
/* The shadow of the original with only common prototypes now. */
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
|
|
/* The HZ constant from <asm/param.h> is replaced by the Hertz variable
|
|
|
|
* available from "proc/sysinfo.h".
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* get page info */
|
|
|
|
#include <asm/page.h>
|
|
|
|
|
2002-05-30 12:38:15 +05:30
|
|
|
extern void *xrealloc(void *oldp, unsigned int size);
|
|
|
|
extern void *xmalloc(unsigned int size);
|
|
|
|
extern void *xcalloc(void *pointer, int size);
|
2002-02-02 04:17:29 +05:30
|
|
|
|
2002-05-30 12:38:15 +05:30
|
|
|
extern int mult_lvl_cmp(void* a, void* b);
|
2002-02-02 04:17:29 +05:30
|
|
|
|
2002-05-30 12:38:15 +05:30
|
|
|
extern char *user_from_uid(uid_t uid);
|
|
|
|
extern char *group_from_gid(gid_t gid);
|
2002-02-02 04:17:29 +05:30
|
|
|
|
2002-05-30 12:38:15 +05:30
|
|
|
extern const char * wchan(unsigned long address);
|
|
|
|
extern int open_psdb(const char *override);
|
|
|
|
extern int open_psdb_message(const char *override, void (*message)(const char *, ...));
|
2002-02-02 04:17:29 +05:30
|
|
|
|
2002-05-30 12:38:15 +05:30
|
|
|
extern unsigned print_str (FILE* file, char *s, unsigned max);
|
2002-10-12 09:55:57 +05:30
|
|
|
extern unsigned print_strlist(FILE* file, char **strs, unsigned max);
|