From 12aec5738b8333a0dd676871bbfb6d6762ea87a5 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 30 Jul 2006 23:32:47 +0000 Subject: Standardize state_file handling routines. This way it's easier to manage and extend. git-svn-id: https://svn.musicpd.org/mpd/trunk@4494 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/utils.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/utils.h') diff --git a/src/utils.h b/src/utils.h index bc16905ea..02f70e946 100644 --- a/src/utils.h +++ b/src/utils.h @@ -29,6 +29,8 @@ #include #include +#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) + char *myFgets(char *buffer, int bufferSize, FILE * fp); char *strDupToUpper(char *str); -- cgit v1.2.3