X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=types.c;h=0f252455d761a16ffc2a090eb62fd40858e74909;hb=500b42e579d745de73c781479ed0f90b8e1d45cf;hp=98fd054775d93d641a74d9fba93f4d760894f93d;hpb=b3b5cda5150d090e2286748b06d4fef3f29a5371;p=cparser diff --git a/types.c b/types.c index 98fd054..0f25245 100644 --- a/types.c +++ b/types.c @@ -1,6 +1,6 @@ /* * This file is part of cparser. - * Copyright (C) 2007-2008 Matthias Braun + * Copyright (C) 2007-2009 Matthias Braun * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -98,8 +98,7 @@ type_t *type_int64_ptr; void init_basic_types(void) { - static const type_base_t error = { TYPE_ERROR, 0, TYPE_QUALIFIER_NONE, - TYPE_MODIFIER_NONE, 0, NULL }; + static const type_base_t error = { TYPE_ERROR, TYPE_QUALIFIER_NONE, NULL }; type_error_type = (type_t*)&error; type_bool = make_atomic_type(ATOMIC_TYPE_BOOL, TYPE_QUALIFIER_NONE);