X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/346bd0cf4e8fb8ead2ad5b59fd9a628c8592e1ee..b0b15b7ced28b3c6ddfcd4b0a7e46ee6432a243c:/lib/split.c diff --git a/lib/split.c b/lib/split.c index 1bb19a5..90036d4 100644 --- a/lib/split.c +++ b/lib/split.c @@ -1,6 +1,6 @@ /* * This file is part of DisOrder. - * Copyright (C) 2004, 2006 Richard Kettlewell + * Copyright (C) 2004, 2006-2008 Richard Kettlewell * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -18,11 +18,9 @@ * USA */ -#include -#include "types.h" +#include "common.h" #include -#include #include #include "mem.h" @@ -56,7 +54,8 @@ char **split(const char *p, size_t l; int qc; - if(!error_handler) error_handler = no_error_handler; + if(!error_handler) + error_handler = no_error_handler; vector_init(&v); while(*p && !(*p == '#' && (flags & SPLIT_COMMENTS))) { if(space(*p)) {