fixed
This commit is contained in:
parent
b1ab591e39
commit
1b9dc6d7dc
8 changed files with 14 additions and 4 deletions
|
@ -1,5 +1,4 @@
|
|||
#include <stdio.h>
|
||||
#include <sys/stat.h>
|
||||
#include "mode_to_str.h"
|
||||
|
||||
char mode[11];
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#ifndef _MODE_TO_STR_H
|
||||
#define _MODE_TO_STR_H
|
||||
#include <sys/stat.h>
|
||||
|
||||
char *mu_mode_2_str(mode_t file_mode);
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#ifndef _PARSE_MODE_H
|
||||
#define _PARSE_MODE_H
|
||||
#include <sys/stat.h>
|
||||
|
||||
mode_t mu_parse_mode(const char *s, mode_t cur_mode);
|
||||
#endif
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef _PARSE_MOUNT_H
|
||||
#define _PARSE_MOUNT_H
|
||||
#include <sys/mount.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
typedef struct {
|
||||
char *opt;
|
||||
|
|
|
@ -51,4 +51,3 @@ int pw_check(const char *prog_name, const struct passwd *pw, const char *pass) {
|
|||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue