aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2020-12-29 16:53:11 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2020-12-29 16:53:11 +0100
commit77a51a2709de1b646ab493f0bf771d896de6efc2 (patch)
treed0e44b91d8391ca06d4de3f7d5101da76c4f940e /libbb
parentc7ef8187688b0e7f92d19b3fed2c4ecffe39a688 (diff)
downloadbusybox-w32-77a51a2709de1b646ab493f0bf771d896de6efc2.tar.gz
busybox-w32-77a51a2709de1b646ab493f0bf771d896de6efc2.tar.bz2
busybox-w32-77a51a2709de1b646ab493f0bf771d896de6efc2.zip
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r--libbb/procps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/procps.c b/libbb/procps.c
index 975e0d4dc..75969947b 100644
--- a/libbb/procps.c
+++ b/libbb/procps.c
@@ -177,6 +177,7 @@ static char *skip_fields(char *str, int count)
177} 177}
178#endif 178#endif
179 179
180#if ENABLE_FEATURE_TOPMEM || ENABLE_PMAP
180static char* skip_whitespace_if_prefixed_with(char *buf, const char *prefix) 181static char* skip_whitespace_if_prefixed_with(char *buf, const char *prefix)
181{ 182{
182 char *tp = is_prefixed_with(buf, prefix); 183 char *tp = is_prefixed_with(buf, prefix);
@@ -186,7 +187,6 @@ static char* skip_whitespace_if_prefixed_with(char *buf, const char *prefix)
186 return tp; 187 return tp;
187} 188}
188 189
189#if ENABLE_FEATURE_TOPMEM || ENABLE_PMAP
190int FAST_FUNC procps_read_smaps(pid_t pid, struct smaprec *total, 190int FAST_FUNC procps_read_smaps(pid_t pid, struct smaprec *total,
191 void (*cb)(struct smaprec *, void *), void *data) 191 void (*cb)(struct smaprec *, void *), void *data)
192{ 192{