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/str.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/str.h')
| -rw-r--r-- | lib/str.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/lib/str.h b/lib/str.h deleted file mode 100644 index dc8e7e5d67..0000000000 --- a/lib/str.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - * $Id: str.h,v 1.4 2005/09/19 09:53:21 hasso Exp $ - */ - -#ifndef _ZEBRA_STR_H -#define _ZEBRA_STR_H - -#ifndef HAVE_SNPRINTF -extern int snprintf(char *, size_t, const char *, ...); -#endif - -#ifndef HAVE_VSNPRINTF -#define vsnprintf(buf, size, format, args) vsprintf(buf, format, args) -#endif - -#ifndef HAVE_STRLCPY -extern size_t strlcpy(char *, const char *, size_t); -#endif - -#ifndef HAVE_STRLCAT -extern size_t strlcat(char *, const char *, size_t); -#endif - -#ifndef HAVE_STRNLEN -extern size_t strnlen(const char *s, size_t maxlen); -#endif - -#ifndef HAVE_STRNDUP -extern char * strndup (const char *, size_t); -#endif - -extern int strmatch (const char *, const char *); - -#endif /* _ZEBRA_STR_H */ - |
