X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=database%2Futil.c;h=6a37e4920f5b2f30028d5918725e5d6bf058ac97;hb=b6235374b91ba7acf62c06c72de2f1291f46ac4c;hp=2accd5d79ac9d1ea82bd726e0eae2002d34363fc;hpb=86333bedb512d2fd809c3161bc40e682b2e9938b;p=blerg.git diff --git a/database/util.c b/database/util.c index 2accd5d..6a37e49 100644 --- a/database/util.c +++ b/database/util.c @@ -2,7 +2,7 @@ * BSD-style license. Please see the COPYING file for details. */ -#define VALID_CHAR(x) (x == ' ' || x == '\'' || x == '-' || x == '.' || (x >= '0' && x <= '9') || (x >= 'A' && x <= 'Z') || x == '_' || (x >= 'a' && x <= 'z')) +#include "database.h" int valid_name(const char *name) { int i;