Remove bb_ prefixes from xfuncs.c (and a few other places), consolidate
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
This commit is contained in:
@@ -155,7 +155,7 @@ int e2p_edit_feature(const char *str, __u32 *compat_array, __u32 *ok_array)
|
||||
unsigned int mask;
|
||||
int compat_type;
|
||||
|
||||
buf = bb_xstrdup(str);
|
||||
buf = xstrdup(str);
|
||||
cp = buf;
|
||||
while (cp && *cp) {
|
||||
neg = 0;
|
||||
|
||||
@@ -100,7 +100,7 @@ int e2p_edit_mntopts(const char *str, __u32 *mntopts, __u32 ok)
|
||||
int neg;
|
||||
unsigned int mask;
|
||||
|
||||
buf = bb_xstrdup(str);
|
||||
buf = xstrdup(str);
|
||||
cp = buf;
|
||||
while (cp && *cp) {
|
||||
neg = 0;
|
||||
|
||||
@@ -33,7 +33,7 @@ char *e2p_os2string(int os_type)
|
||||
else
|
||||
os = "(unknown os)";
|
||||
|
||||
ret = bb_xstrdup(os);
|
||||
ret = xstrdup(os);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user