Return to apprentice.c CVS log | Up to [local] / src / usr.bin / file |
version 1.26, 2009/04/24 18:54:34 | version 1.27, 2009/08/27 16:26:42 | ||
---|---|---|---|
|
|
||
* apprentice - make one pass through /etc/magic, learning its secrets. | * apprentice - make one pass through /etc/magic, learning its secrets. | ||
*/ | */ | ||
#include <sys/param.h> | |||
#include <sys/stat.h> | |||
#include <sys/types.h> | |||
#include "file.h" | #include "file.h" | ||
#include "magic.h" | #include "magic.h" | ||
#include "patchlevel.h" | #include "patchlevel.h" | ||
|
|
||
#include <assert.h> | #include <assert.h> | ||
#include <ctype.h> | #include <ctype.h> | ||
#include <fcntl.h> | #include <fcntl.h> | ||
#include <sys/stat.h> | |||
#include <sys/param.h> | |||
#ifdef QUICK | #ifdef QUICK | ||
#include <sys/mman.h> | #include <sys/mman.h> | ||
#endif | #endif | ||
#include <sys/types.h> | |||
#include <dirent.h> | #include <dirent.h> | ||
#ifndef lint | #ifndef lint |