Update headers and omit CVS Ids.
[yaz-moved-to-github.git] / src / query-charset.c
index 2001315..94a1901 100644 (file)
@@ -1,8 +1,6 @@
-/*
- * Copyright (C) 1995-2007, Index Data ApS
- * All rights reserved.
- *
- * $Id: query-charset.c,v 1.1 2007-03-21 19:47:28 adam Exp $
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data
+ * See the file LICENSE for details.
  */
 
 /** \file query-charset.c
 #include <stdio.h>
 #include <assert.h>
 
-#include <yaz/proto.h>
+#include <yaz/query-charset.h>
 #include <yaz/wrbuf.h>
-#include <yaz/odr.h>
-#include <yaz/yaz-iconv.h>
 
 void yaz_query_charset_convert_buf(char *buf_in, int len_in,
                                    char **buf_out, int *len_out,
@@ -27,7 +23,7 @@ void yaz_query_charset_convert_buf(char *buf_in, int len_in,
 
     *len_out = wrbuf_len(wrbuf);
     if (*len_out == 0)
-    {   // we assume conversion failed
+    {   /* we assume conversion failed */
         *buf_out = buf_in;
         *len_out = len_in;
     }