X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zlint%2Ftest-init-01.cpp;h=ed3ad9d0470a18db91b0fb6c7774efc9e282f2f1;hb=217e153abe5e9c5aae6ef74a839bf01d30e295d3;hp=61c94274fd795fb52564be2bc82f72d985a9e857;hpb=9fef1c618f2f936041b3b58d61e406182033ab30;p=yazpp-moved-to-github.git diff --git a/zlint/test-init-01.cpp b/zlint/test-init-01.cpp index 61c9427..ed3ad9d 100644 --- a/zlint/test-init-01.cpp +++ b/zlint/test-init-01.cpp @@ -1,8 +1,11 @@ /* This file is part of the yazpp toolkit. - * Copyright (C) 1998-2009 Index Data and Mike Taylor + * Copyright (C) 1998-2013 Index Data and Mike Taylor * See the file LICENSE for details. */ +#if HAVE_CONFIG_H +#include +#endif #include #include @@ -27,7 +30,7 @@ Zlint_code Zlint_test_init_01::init(Zlint *z) ODR_MASK_SET(init->protocolVersion, Z_ProtocolVersion_1); ODR_MASK_SET(init->protocolVersion, Z_ProtocolVersion_2); ODR_MASK_SET(init->protocolVersion, Z_ProtocolVersion_3); - + int r = z->send_Z_PDU(apdu, &len); if (r < 0) { @@ -64,6 +67,7 @@ Zlint_code Zlint_test_init_01::recv_gdu(Zlint *z, Z_GDU *gdu) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab