aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common.h
diff options
context:
space:
mode:
authorGravatar Kurtis Rader <krader@skepticism.us>2016-04-03 19:02:46 -0700
committerGravatar Kurtis Rader <krader@skepticism.us>2016-04-03 19:02:46 -0700
commit9dd6873e5855f69b01f2e3705a49a4231c992e71 (patch)
tree7fc073cc4780b381285567b1df1b6caf9966bb00 /src/common.h
parent3f1fc332e7451187b1b9806f544bc8199fa412a8 (diff)
lint: remove or comment out unused functions
Cppcheck has identified a lot of unused functions. This removes funcs that are unlikely to ever be used. Others that might be useful for debugging I've commented out with "#if 0".
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/common.h b/src/common.h
index 74640988..d6eb0191 100644
--- a/src/common.h
+++ b/src/common.h
@@ -811,9 +811,6 @@ ssize_t read_loop(int fd, void *buff, size_t count);
void debug(int level, const char *msg, ...);
void debug(int level, const wchar_t *msg, ...);
-/** Writes a string to stderr, followed by a newline */
-void print_stderr(const wcstring &str);
-
/**
Replace special characters with backslash escape sequences. Newline is
replaced with \n, etc.