X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/4ecbdbd99dea3236c3c6d5ea5401a08c56de5d3c..1f868ca317a161c7b754dc2d80b3be49eddafb23:/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)) {