X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fzgdu.c;h=ecdb9e6f5de4fa4e5cb074dab7bd6152f85c4006;hp=3c165c43f03e1a15088296f8a60315f95a111ed1;hb=5f5ce1a79c4061098904a01ff9c9e723e9d6e7b9;hpb=2788a4851b551e1a3efb320a2878b809f2d8a9d7 diff --git a/src/zgdu.c b/src/zgdu.c index 3c165c4..ecdb9e6 100644 --- a/src/zgdu.c +++ b/src/zgdu.c @@ -1,18 +1,20 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data + * Copyright (C) 1995-2013 Index Data * See the file LICENSE for details. */ - /** * \file zgdu.c * \brief Implements HTTP and Z39.50 encoding and decoding. */ +#if HAVE_CONFIG_H +#include +#endif #include #include #include -int z_GDU (ODR o, Z_GDU **p, int opt, const char *name) +int z_GDU(ODR o, Z_GDU **p, int opt, const char *name) { if (o->direction == ODR_DECODE) { *p = (Z_GDU *) odr_malloc(o, sizeof(**p)); @@ -55,6 +57,7 @@ int z_GDU (ODR o, Z_GDU **p, int opt, const char *name) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab