projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused code and variables.
[ircu2.10.12-pk.git]
/
include
/
ircd_string.h
diff --git
a/include/ircd_string.h
b/include/ircd_string.h
index 2cd1d1c5ed9de4df97316d012e0c710a4e822cba..888cfb33de36e43d4ae89861ca014f6b674167f6 100644
(file)
--- a/
include/ircd_string.h
+++ b/
include/ircd_string.h
@@
-16,13
+16,6
@@
struct irc_in_addr;
/** Check whether \a x is a NULL or empty string. */
#define EmptyString(x) (!(x) || !(*x))
/** Check whether \a x is a NULL or empty string. */
#define EmptyString(x) (!(x) || !(*x))
-/*
- * initialize recognizers
- */
-extern int init_string(void);
-
-extern int string_is_hostname(const char* str);
-extern int string_is_address(const char* str);
extern int string_has_wildcards(const char* str);
extern char* ircd_strncpy(char* dest, const char* src, size_t len);
extern int string_has_wildcards(const char* str);
extern char* ircd_strncpy(char* dest, const char* src, size_t len);
@@
-117,10
+110,5
@@
static __inline__ NTL_HDR_strCasediff { NTL_SRC_strCasediff }
#endif
#endif /* FORCEINLINE */
#endif
#endif /* FORCEINLINE */
-/*
- * Proto types of other externally visible functions
- */
-extern int strnChattr(const char *s, const size_t n);
-
#endif /* INCLUDED_ircd_string_h */
#endif /* INCLUDED_ircd_string_h */