Always initialize libgcrypt for POSIX threads YAZ-751
[yaz-moved-to-github.git] / ztest / dummy-opac.c
index 50af043..eeab43d 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2011 Index Data
+ * Copyright (C) Index Data
  * See the file LICENSE for details.
  */
 /** \file
@@ -9,7 +9,6 @@
 #include <config.h>
 #endif
 
-#include <ctype.h>
 #include <yaz/wrbuf.h>
 #include <yaz/marcdisp.h>
 #include <yaz/odr.h>
@@ -32,11 +31,11 @@ Z_OPACRecord *dummy_opac(int num, ODR odr, const char *marc_input)
             odr_malloc(odr, sizeof(*hr));
         Z_HoldingsAndCircData *hc = (Z_HoldingsAndCircData *)
             odr_malloc(odr, sizeof(*hc));
-        
+
         rec->holdingsData[i] = hr;
         hr->which = Z_HoldingsRecord_holdingsAndCirc;
         hr->u.holdingsAndCirc = hc;
-            
+
         hc->typeOfRecord = "u";
 
         hc->encodingLevel = "u";
@@ -47,7 +46,7 @@ Z_OPACRecord *dummy_opac(int num, ODR odr, const char *marc_input)
         hc->completeness = 0; /* OPT */
         hc->dateOfReport = "000000";
         hc->nucCode = "s-FM/GC";
-        hc->localLocation = 
+        hc->localLocation =
             "Main or Science/Business Reading Rms - STORED OFFSITE";
         hc->shelvingLocation = 0; /* OPT */
         hc->callNumber = "MLCM 89/00602 (N)";