Remove some unnecessary macros
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
4
src/c2.c
4
src/c2.c
@@ -360,7 +360,7 @@ c2_match_once(session_t *ps, win *w, const c2_ptr_t cond);
|
||||
* Parse a condition string.
|
||||
*/
|
||||
c2_lptr_t *
|
||||
c2_parsed(session_t *ps, c2_lptr_t **pcondlst, const char *pattern,
|
||||
c2_parse(session_t *ps, c2_lptr_t **pcondlst, const char *pattern,
|
||||
void *data) {
|
||||
if (!pattern)
|
||||
return NULL;
|
||||
@@ -1645,7 +1645,7 @@ c2_match_once(session_t *ps, win *w, const c2_ptr_t cond) {
|
||||
* @return true if matched, false otherwise.
|
||||
*/
|
||||
bool
|
||||
c2_matchd(session_t *ps, win *w, const c2_lptr_t *condlst,
|
||||
c2_match(session_t *ps, win *w, const c2_lptr_t *condlst,
|
||||
const c2_lptr_t **cache, void **pdata) {
|
||||
assert(IsViewable == w->a.map_state);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user