projects
/
libc-test
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
api: shorten function checks (and put each into a different scope)
[libc-test]
/
src
/
api
/
wordexp.c
diff --git
a/src/api/wordexp.c
b/src/api/wordexp.c
index
5f89956
..
baf7e24
100644
(file)
--- a/
src/api/wordexp.c
+++ b/
src/api/wordexp.c
@@
-22,6
+22,6
@@
C(WRDE_BADVAL)
C(WRDE_CMDSUB)
C(WRDE_NOSPACE)
C(WRDE_SYNTAX)
C(WRDE_CMDSUB)
C(WRDE_NOSPACE)
C(WRDE_SYNTAX)
-int(*p_wordexp)(const char*restrict,wordexp_t*restrict,int) = wordexp;
-void(*p_wordfree)(wordexp_t*) = wordfree;
+{int(*p)(const char*restrict,wordexp_t*restrict,int) = wordexp;}
+{void(*p)(wordexp_t*) = wordfree;}
}
}