more magic
This commit is contained in:
parent
ef590f67a9
commit
b26f7dbf93
77
walk/walk.c
77
walk/walk.c
@ -12,14 +12,14 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include <dirent.h> /* closedir(3), opendir(3), readdir(3), DIR */
|
#include <dirent.h> /* closedir(3), opendir(3), readdir(3), DIR,
|
||||||
|
* struct dirent */
|
||||||
#include <errno.h> /* errno */
|
#include <errno.h> /* errno */
|
||||||
#include <stdio.h> /* fprintf(3), perror(3), stderr, stdout */
|
#include <stdio.h> /* fprintf(3), perror(3), stderr, stdout */
|
||||||
#include <stdlib.h> /* realloc(3) */
|
#include <stdlib.h> /* realloc(3) */
|
||||||
#include <string.h> /* strerror(3) */
|
#include <string.h> /* stpcpy(3), strcmp(3), strerror(3), strlen(3) */
|
||||||
#include <sysexits.h> /* EX_OSERR, EX_USAGE */
|
#include <sysexits.h> /* EX_OK, EX_INVALID, EX_OSERR, EX_USAGE */
|
||||||
|
#include <unistd.h> /* getopt(3) */
|
||||||
#include <getopt.h>
|
|
||||||
|
|
||||||
static char *dot[] = {".", NULL}; /* default (argc<2) */
|
static char *dot[] = {".", NULL}; /* default (argc<2) */
|
||||||
|
|
||||||