6,13 → 6,11 |
#define LS_FILE 1 |
#define LS_DIR 2 |
|
/* Protoypes for non entry points, intrinsic to ls. Stuff like ls_scope() |
* is also duplicated in rm, while rm sort of duplicates ls_scan_dir(). |
* TODO make some more shared functions and don't expose the stuff below */ |
extern unsigned int ls_scope(const char *); |
extern void ls_scan_dir(const char *, DIR *); |
extern void ls_print_dir(const char *); |
extern void ls_print_file(const char *); |
|
static unsigned int ls_scope(const char *); |
static void ls_scan_dir(const char *, DIR *); |
static void ls_print_dir(const char *); |
static void ls_print_file(const char *); |
|
#endif /* LS_H */ |
|