1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/net-mgmt/nagircbot/files/patch-utils.h
Li-Wen Hsu 430a488d97 Add nagircbot 0.0.20, IRC bot for Nagios.
PR:		ports/112210
Submitted by:	Antoine Beaupre <anarcat AT koumbit.org>
2007-07-06 07:15:08 +00:00

12 lines
418 B
C

--- utils.h.orig Mon Nov 27 06:21:58 2006
+++ utils.h Sat Apr 28 13:45:23 2007
@@ -19,7 +19,7 @@
void * mymalloc(int size, char *what);
void * myrealloc(void *oldp, int newsize, char *what);
char * mystrdup(char *in);
-char * mtstrndup(char *in, int len);
+char * mystrndup(char *in, int len);
void myfree(void *p, char *what);
ssize_t WRITE(int fd, char *whereto, size_t len);
int get_filesize(char *filename);