From 504ab94abcd8209ce96bcb747db7536f9d49c083 Mon Sep 17 00:00:00 2001 From: norly Date: Tue, 14 Feb 2012 01:27:32 +0000 Subject: Cleaned up 'netif'. Replaced 'netif' with 'netif_named'. Fixed memory leak in new 'netif'. Outsourced raw file reading to tools.c. --- statuses/tools.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'statuses/tools.h') diff --git a/statuses/tools.h b/statuses/tools.h index 1b9f344..802b9f1 100644 --- a/statuses/tools.h +++ b/statuses/tools.h @@ -2,6 +2,8 @@ #ifndef __TOOLS_H__ #define __TOOLS_H__ -char powertochar(int power); +char powerToChar(int power); +void statusError(char *where, char *what, char *extra); +ssize_t fileRead(char *buf, size_t bufsize, char *file); #endif -- cgit v1.2.3