X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fill-get.c;h=d9ec51dfece7f8e77778811c6968eecac4375d5f;hp=a1e31c870a29f82be75c885f146e636df367e4a5;hb=43a9d38d20c1b1bcd1a03b2445a501d27526bd35;hpb=6b76baf0fb5d0d437caedd8076f77f372d775758 diff --git a/src/ill-get.c b/src/ill-get.c index a1e31c8..d9ec51d 100644 --- a/src/ill-get.c +++ b/src/ill-get.c @@ -1,12 +1,14 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data + * Copyright (C) 1995-2011 Index Data * See the file LICENSE for details. */ - /** * \file ill-get.c * \brief Implements ILL package creator utilities */ +#if HAVE_CONFIG_H +#include +#endif #include #include @@ -35,8 +37,8 @@ bool_t *ill_get_bool (struct ill_get_ctl *gc, const char *name, return r; } -odr_int_t *ill_get_int(struct ill_get_ctl *gc, const char *name, - const char *sub, odr_int_t val) +Odr_int *ill_get_int(struct ill_get_ctl *gc, const char *name, + const char *sub, Odr_int val) { ODR o = gc->odr; char element[128]; @@ -54,8 +56,8 @@ odr_int_t *ill_get_int(struct ill_get_ctl *gc, const char *name, return odr_intdup(o, val); } -odr_int_t *ill_get_enumerated (struct ill_get_ctl *gc, const char *name, - const char *sub, odr_int_t val) +Odr_int *ill_get_enumerated (struct ill_get_ctl *gc, const char *name, + const char *sub, Odr_int val) { return ill_get_int(gc, name, sub, val); }