aboutsummaryrefslogtreecommitdiff
path: root/libbb/procps.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/procps.c')
-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{