Transformed function macros in util.h to inline functions

This commit is contained in:
Bert Münnich
2011-09-29 10:16:13 +02:00
parent d369f10aa5
commit 22d4e991d5
7 changed files with 35 additions and 24 deletions

2
util.c
View File

@ -270,7 +270,7 @@ char* r_readdir(r_dir_t *rdir) {
while (1) {
if (rdir->dir && (dentry = readdir(rdir->dir))) {
if (STREQ(dentry->d_name, ".") || STREQ(dentry->d_name, ".."))
if (streq(dentry->d_name, ".") || streq(dentry->d_name, ".."))
continue;
len = strlen(rdir->name) + strlen(dentry->d_name) + 2;