From 3592a2ee5c7ec20144582e76e7cff7f1065734fb Mon Sep 17 00:00:00 2001 From: khali Date: Sun, 11 Feb 2007 20:10:59 +0000 Subject: Define an ARRAY_SIZE macro which computes the size of a static array, and use it where relevant. --- vpdopt.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'vpdopt.c') diff --git a/vpdopt.c b/vpdopt.c index 87d7676..b410187 100644 --- a/vpdopt.c +++ b/vpdopt.c @@ -25,6 +25,7 @@ #include #include "config.h" +#include "util.h" #include "vpdopt.h" @@ -52,7 +53,7 @@ static void print_opt_string_list(void) unsigned int i; fprintf(stderr, "Valid string keywords are:\n"); - for(i=0; i