projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ooops, make it compile again.
[apps/madmutt.git]
/
lib
/
str.c
diff --git
a/lib/str.c
b/lib/str.c
index
b3fc401
..
9f0eae6
100644
(file)
--- a/
lib/str.c
+++ b/
lib/str.c
@@
-17,12
+17,6
@@
#include "str.h"
#include "str.h"
-void str_replace (char **p, const char *s)
-{
- p_delete(p);
- *p = m_strdup(s);
-}
-
void str_adjust (char **p)
{
if (!p || !*p)
void str_adjust (char **p)
{
if (!p || !*p)
@@
-92,11
+86,6
@@
int str_eq (const char* s1, const char* s2) {
return (m_strncmp(s1, s2, l) == 0);
}
return (m_strncmp(s1, s2, l) == 0);
}
-char* str_skip_initws (char* s) {
- SKIPWS (s);
- return (s);
-}
-
void str_skip_trailws (char *s) {
char *p;
void str_skip_trailws (char *s) {
char *p;