aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/bb_archive.h6
-rw-r--r--include/grp_.h24
-rw-r--r--include/libbb.h2
-rw-r--r--include/pwd_.h24
-rw-r--r--include/shadow_.h14
5 files changed, 35 insertions, 35 deletions
diff --git a/include/bb_archive.h b/include/bb_archive.h
index 7bb5615da..a7a2a1135 100644
--- a/include/bb_archive.h
+++ b/include/bb_archive.h
@@ -220,9 +220,9 @@ IF_DESKTOP(long long) int unpack_xz_stream(transformer_aux_data_t *aux, int src_
220 220
221char* append_ext(char *filename, const char *expected_ext) FAST_FUNC; 221char* append_ext(char *filename, const char *expected_ext) FAST_FUNC;
222int bbunpack(char **argv, 222int bbunpack(char **argv,
223 IF_DESKTOP(long long) int FAST_FUNC (*unpacker)(transformer_aux_data_t *aux), 223 IF_DESKTOP(long long) int FAST_FUNC (*unpacker)(transformer_aux_data_t *aux),
224 char* FAST_FUNC (*make_new_name)(char *filename, const char *expected_ext), 224 char* FAST_FUNC (*make_new_name)(char *filename, const char *expected_ext),
225 const char *expected_ext 225 const char *expected_ext
226) FAST_FUNC; 226) FAST_FUNC;
227 227
228void check_errors_in_children(int signo); 228void check_errors_in_children(int signo);
diff --git a/include/grp_.h b/include/grp_.h
index 82ad90492..e5075e5a0 100644
--- a/include/grp_.h
+++ b/include/grp_.h
@@ -64,7 +64,7 @@ extern struct group *fgetgrent(FILE *__stream);
64 64
65/* Write the given entry onto the given stream. */ 65/* Write the given entry onto the given stream. */
66extern int putgrent(const struct group *__restrict __p, 66extern int putgrent(const struct group *__restrict __p,
67 FILE *__restrict __f); 67 FILE *__restrict __f);
68#endif 68#endif
69 69
70/* Search for an entry with a matching group ID. */ 70/* Search for an entry with a matching group ID. */
@@ -82,32 +82,32 @@ extern struct group *getgrnam(const char *__name);
82 POSIX people would choose. */ 82 POSIX people would choose. */
83 83
84extern int getgrent_r(struct group *__restrict __resultbuf, 84extern int getgrent_r(struct group *__restrict __resultbuf,
85 char *__restrict __buffer, size_t __buflen, 85 char *__restrict __buffer, size_t __buflen,
86 struct group **__restrict __result); 86 struct group **__restrict __result);
87 87
88/* Search for an entry with a matching group ID. */ 88/* Search for an entry with a matching group ID. */
89extern int getgrgid_r(gid_t __gid, struct group *__restrict __resultbuf, 89extern int getgrgid_r(gid_t __gid, struct group *__restrict __resultbuf,
90 char *__restrict __buffer, size_t __buflen, 90 char *__restrict __buffer, size_t __buflen,
91 struct group **__restrict __result); 91 struct group **__restrict __result);
92 92
93/* Search for an entry with a matching group name. */ 93/* Search for an entry with a matching group name. */
94extern int getgrnam_r(const char *__restrict __name, 94extern int getgrnam_r(const char *__restrict __name,
95 struct group *__restrict __resultbuf, 95 struct group *__restrict __resultbuf,
96 char *__restrict __buffer, size_t __buflen, 96 char *__restrict __buffer, size_t __buflen,
97 struct group **__restrict __result); 97 struct group **__restrict __result);
98 98
99/* Read a group entry from STREAM. This function is not standardized 99/* Read a group entry from STREAM. This function is not standardized
100 an probably never will. */ 100 an probably never will. */
101extern int fgetgrent_r(FILE *__restrict __stream, 101extern int fgetgrent_r(FILE *__restrict __stream,
102 struct group *__restrict __resultbuf, 102 struct group *__restrict __resultbuf,
103 char *__restrict __buffer, size_t __buflen, 103 char *__restrict __buffer, size_t __buflen,
104 struct group **__restrict __result); 104 struct group **__restrict __result);
105 105
106/* Store at most *NGROUPS members of the group set for USER into 106/* Store at most *NGROUPS members of the group set for USER into
107 *GROUPS. Also include GROUP. The actual number of groups found is 107 *GROUPS. Also include GROUP. The actual number of groups found is
108 returned in *NGROUPS. Return -1 if the if *NGROUPS is too small. */ 108 returned in *NGROUPS. Return -1 if the if *NGROUPS is too small. */
109extern int getgrouplist(const char *__user, gid_t __group, 109extern int getgrouplist(const char *__user, gid_t __group,
110 gid_t *__groups, int *__ngroups); 110 gid_t *__groups, int *__ngroups);
111 111
112/* Initialize the group set for the current user 112/* Initialize the group set for the current user
113 by reading the group database and using all groups 113 by reading the group database and using all groups
diff --git a/include/libbb.h b/include/libbb.h
index 6ac7d2cab..606db7d0d 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1516,7 +1516,7 @@ struct smaprec {
1516 procps_read_smaps(pid, total) 1516 procps_read_smaps(pid, total)
1517#endif 1517#endif
1518int FAST_FUNC procps_read_smaps(pid_t pid, struct smaprec *total, 1518int FAST_FUNC procps_read_smaps(pid_t pid, struct smaprec *total,
1519 void (*cb)(struct smaprec *, void *), void *data); 1519 void (*cb)(struct smaprec *, void *), void *data);
1520 1520
1521typedef struct procps_status_t { 1521typedef struct procps_status_t {
1522 DIR *dir; 1522 DIR *dir;
diff --git a/include/pwd_.h b/include/pwd_.h
index ea158da45..625b6f5a2 100644
--- a/include/pwd_.h
+++ b/include/pwd_.h
@@ -63,7 +63,7 @@ extern struct passwd *fgetpwent(FILE *__stream);
63 63
64/* Write the given entry onto the given stream. */ 64/* Write the given entry onto the given stream. */
65extern int putpwent(const struct passwd *__restrict __p, 65extern int putpwent(const struct passwd *__restrict __p,
66 FILE *__restrict __f); 66 FILE *__restrict __f);
67#endif 67#endif
68 68
69/* Search for an entry with a matching user ID. */ 69/* Search for an entry with a matching user ID. */
@@ -81,25 +81,25 @@ extern struct passwd *getpwnam(const char *__name);
81 POSIX people would choose. */ 81 POSIX people would choose. */
82 82
83extern int getpwent_r(struct passwd *__restrict __resultbuf, 83extern int getpwent_r(struct passwd *__restrict __resultbuf,
84 char *__restrict __buffer, size_t __buflen, 84 char *__restrict __buffer, size_t __buflen,
85 struct passwd **__restrict __result); 85 struct passwd **__restrict __result);
86 86
87extern int getpwuid_r(uid_t __uid, 87extern int getpwuid_r(uid_t __uid,
88 struct passwd *__restrict __resultbuf, 88 struct passwd *__restrict __resultbuf,
89 char *__restrict __buffer, size_t __buflen, 89 char *__restrict __buffer, size_t __buflen,
90 struct passwd **__restrict __result); 90 struct passwd **__restrict __result);
91 91
92extern int getpwnam_r(const char *__restrict __name, 92extern int getpwnam_r(const char *__restrict __name,
93 struct passwd *__restrict __resultbuf, 93 struct passwd *__restrict __resultbuf,
94 char *__restrict __buffer, size_t __buflen, 94 char *__restrict __buffer, size_t __buflen,
95 struct passwd **__restrict __result); 95 struct passwd **__restrict __result);
96 96
97/* Read an entry from STREAM. This function is not standardized and 97/* Read an entry from STREAM. This function is not standardized and
98 probably never will. */ 98 probably never will. */
99extern int fgetpwent_r(FILE *__restrict __stream, 99extern int fgetpwent_r(FILE *__restrict __stream,
100 struct passwd *__restrict __resultbuf, 100 struct passwd *__restrict __resultbuf,
101 char *__restrict __buffer, size_t __buflen, 101 char *__restrict __buffer, size_t __buflen,
102 struct passwd **__restrict __result); 102 struct passwd **__restrict __result);
103 103
104POP_SAVED_FUNCTION_VISIBILITY 104POP_SAVED_FUNCTION_VISIBILITY
105 105
diff --git a/include/shadow_.h b/include/shadow_.h
index 648a62ab3..7babe4f30 100644
--- a/include/shadow_.h
+++ b/include/shadow_.h
@@ -79,21 +79,21 @@ extern int putspent(const struct spwd *__p, FILE *__stream);
79 79
80/* Reentrant versions of some of the functions above */ 80/* Reentrant versions of some of the functions above */
81extern int getspent_r(struct spwd *__result_buf, char *__buffer, 81extern int getspent_r(struct spwd *__result_buf, char *__buffer,
82 size_t __buflen, struct spwd **__result); 82 size_t __buflen, struct spwd **__result);
83#endif 83#endif
84 84
85extern int getspnam_r(const char *__name, struct spwd *__result_buf, 85extern int getspnam_r(const char *__name, struct spwd *__result_buf,
86 char *__buffer, size_t __buflen, 86 char *__buffer, size_t __buflen,
87 struct spwd **__result); 87 struct spwd **__result);
88 88
89#ifdef UNUSED_FOR_NOW 89#ifdef UNUSED_FOR_NOW
90extern int sgetspent_r(const char *__string, struct spwd *__result_buf, 90extern int sgetspent_r(const char *__string, struct spwd *__result_buf,
91 char *__buffer, size_t __buflen, 91 char *__buffer, size_t __buflen,
92 struct spwd **__result); 92 struct spwd **__result);
93 93
94extern int fgetspent_r(FILE *__stream, struct spwd *__result_buf, 94extern int fgetspent_r(FILE *__stream, struct spwd *__result_buf,
95 char *__buffer, size_t __buflen, 95 char *__buffer, size_t __buflen,
96 struct spwd **__result); 96 struct spwd **__result);
97/* Protect password file against multi writers */ 97/* Protect password file against multi writers */
98extern int lckpwdf(void); 98extern int lckpwdf(void);
99 99