|
@@ -6,9 +6,7 @@
|
|
|
|
|
|
#pragma once
|
|
#pragma once
|
|
|
|
|
|
-#ifndef AK_OS_MACOS
|
|
|
|
-# include <bits/FILE.h>
|
|
|
|
-#endif
|
|
|
|
|
|
+#include <bits/FILE.h>
|
|
#include <sys/cdefs.h>
|
|
#include <sys/cdefs.h>
|
|
#include <sys/types.h>
|
|
#include <sys/types.h>
|
|
|
|
|
|
@@ -26,7 +24,6 @@ struct spwd {
|
|
unsigned long int sp_flag;
|
|
unsigned long int sp_flag;
|
|
};
|
|
};
|
|
|
|
|
|
-#ifndef AK_OS_MACOS
|
|
|
|
struct spwd* getspent(void);
|
|
struct spwd* getspent(void);
|
|
void setspent(void);
|
|
void setspent(void);
|
|
void endspent(void);
|
|
void endspent(void);
|
|
@@ -38,6 +35,5 @@ int getspnam_r(const char* name, struct spwd* spbuf, char* buf, size_t buflen, s
|
|
|
|
|
|
int fgetspent_r(FILE* fp, struct spwd* spbuf, char* buf, size_t buflen, struct spwd** spbufp);
|
|
int fgetspent_r(FILE* fp, struct spwd* spbuf, char* buf, size_t buflen, struct spwd** spbufp);
|
|
int sgetspent_r(const char* s, struct spwd* spbuf, char* buf, size_t buflen, struct spwd** spbufp);
|
|
int sgetspent_r(const char* s, struct spwd* spbuf, char* buf, size_t buflen, struct spwd** spbufp);
|
|
-#endif
|
|
|
|
|
|
|
|
__END_DECLS
|
|
__END_DECLS
|