ps: built-in test code, etc.
This commit is contained in:
@@ -14,9 +14,6 @@ EXTERN_C_BEGIN
|
||||
|
||||
extern int escape_strlist(char *restrict dst, const char *restrict const *restrict src, size_t n);
|
||||
extern int escape_str(char *restrict dst, const char *restrict src, int bufsize, int maxglyphs);
|
||||
extern int octal_escape_str(char *restrict dst, const char *restrict src, size_t n);
|
||||
extern int simple_escape_str(char *restrict dst, const char *restrict src, size_t n);
|
||||
|
||||
extern int escape_command(char *restrict const outbuf, const proc_t *restrict const pp, int bytes, int glyphs, unsigned flags);
|
||||
|
||||
EXTERN_C_END
|
||||
|
@@ -204,7 +204,7 @@ static void init_libproc(void){
|
||||
if(linux_version_code > LINUX_VERSION(2, 4, 0)){
|
||||
Hertz = find_elf_note(AT_CLKTCK);
|
||||
if(Hertz!=NOTE_NOT_FOUND) return;
|
||||
fprintf(stderr, "2.4 kernel w/o ELF notes? -- report this\n");
|
||||
fprintf(stderr, "2.4+ kernel w/o ELF notes? -- report this\n");
|
||||
}
|
||||
old_Hertz_hack();
|
||||
}
|
||||
|
Reference in New Issue
Block a user