This commit is contained in:
Your Name 2024-07-10 18:51:30 +03:00
parent b1ab591e39
commit 1b9dc6d7dc
8 changed files with 14 additions and 4 deletions

View file

@ -1,5 +1,4 @@
#include <stdio.h>
#include <sys/stat.h>
#include "mode_to_str.h"
char mode[11];

View file

@ -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

View file

@ -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

View file

@ -1,6 +1,7 @@
#ifndef _PARSE_MOUNT_H
#define _PARSE_MOUNT_H
#include <sys/mount.h>
#include <stdlib.h>
typedef struct {
char *opt;

View file

@ -51,4 +51,3 @@ int pw_check(const char *prog_name, const struct passwd *pw, const char *pass) {
return 1;
}