summaryrefslogtreecommitdiffstats
path: root/include/proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/proto.h')
-rw-r--r--include/proto.h29
1 files changed, 2 insertions, 27 deletions
diff --git a/include/proto.h b/include/proto.h
index dd893cda..a69288f4 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -47,8 +47,6 @@ void BlogMain(int);
#endif
/* args */
-void initsetproctitle(int argc, char **argv, char **envp);
-void setproctitle(const char* format, ...) GCC_CHECK_FORMAT(1,2);
/* assess */
int inc_goodpost(const char *, int num);
@@ -476,22 +474,8 @@ char *completeutmp_getname(int where);
/* osdep */
int cpuload(char *str);
-double swapused(int *total, int *used);
-
-#ifdef NEED_FLOCK
- #define LOCK_EX 1
- #define LOCK_UN 2
-
- int flock(int, int);
-#endif
-
-#ifdef NEED_UNSETENV
- void unsetenv(char *name);
-#endif
-
-#ifdef NEED_STRCASESTR
- char *strcasestr(const char *big, const char *little);
-#endif
+void initsetproctitle(int argc, char **argv, char **envp);
+void setproctitle(const char* format, ...) GCC_CHECK_FORMAT(1,2);
#ifdef NEED_STRLCPY
size_t strlcpy(char *dst, const char *src, size_t size);
@@ -501,15 +485,6 @@ double swapused(int *total, int *used);
size_t strlcat(char *dst, const char *src, size_t size);
#endif
-#ifdef NEED_SCANDIR
- int scandir(const char *dirname, struct dirent ***namelist, int (*select)(struct dirent *), int (*compar)(const void *, const void *));
- int alphasort(const void *d1, const void *d2);
-#endif
-
-#ifdef NEED_INET_PTON
- int inet_pton(int af, const char *src, void *dst);
-#endif
-
/* othello */
int othello_main(void);