diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2016-11-28 17:46:55 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2016-11-28 17:46:55 +0100 |
| commit | bf31fc8174b6d130b90e6ee1a67c543c3c8f1615 (patch) | |
| tree | e3242279b998a73675017c24b173ce3365c1947a /lib/zebra.h | |
| parent | ddbaf941d9618125eb9d1a778c1f704c84109abf (diff) | |
lib: pre-remove str.[ch] for merge, move strmatch()
lib/str.[ch] was removed in cleaning up autoconf deadweight.
best place for strmatch seems to be a #define in zebra.h
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/zebra.h')
| -rw-r--r-- | lib/zebra.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/zebra.h b/lib/zebra.h index 08c50c68bc..a37cdd9472 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -461,6 +461,8 @@ extern int proto_redistnum(int afi, const char *s); extern const char *zserv_command_string (unsigned int command); +#define strmatch(a,b) (!strcmp((a), (b))) + /* Error codes of zebra. */ #define ZEBRA_ERR_NOERROR 0 #define ZEBRA_ERR_RTEXIST -1 |
