mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
Use pre-C99 value for unsigned 32-bit integer in Darwin.
This commit is contained in:
@@ -5,10 +5,10 @@
|
|||||||
#ifndef SETTER_SRC_DARWIN_DARWIN_H_
|
#ifndef SETTER_SRC_DARWIN_DARWIN_H_
|
||||||
#define SETTER_SRC_DARWIN_DARWIN_H_
|
#define SETTER_SRC_DARWIN_DARWIN_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
void DarwinGetOsInfo();
|
void DarwinGetOsInfo();
|
||||||
void DarwinPrintStatfsFlags(uint32_t flags);
|
void DarwinPrintStatfsFlags(u_int32_t flags);
|
||||||
void DarwinResourceFork(const char* path);
|
void DarwinResourceFork(const char* path);
|
||||||
void DarwinFileAttributes(const char* path);
|
void DarwinFileAttributes(const char* path);
|
||||||
void DarwinExtendedAttributes(const char* path);
|
void DarwinExtendedAttributes(const char* path);
|
||||||
|
|||||||
@@ -23,16 +23,16 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdint.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/attr.h>
|
#include <sys/attr.h>
|
||||||
|
#include <sys/types.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "volume.h"
|
#include "volume.h"
|
||||||
|
|
||||||
#include "../../log.h"
|
#include "../../log.h"
|
||||||
|
|
||||||
void DarwinPrintStatfsFlags(uint32_t flags)
|
void DarwinPrintStatfsFlags(u_int32_t flags)
|
||||||
{
|
{
|
||||||
if(flags & MNT_RDONLY)
|
if(flags & MNT_RDONLY)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user