projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Got rid of a few warnings WRT signed/unsigned types
[yaz-moved-to-github.git]
/
src
/
diag-entry.c
diff --git
a/src/diag-entry.c
b/src/diag-entry.c
index
d3c082c
..
4be0e23
100644
(file)
--- a/
src/diag-entry.c
+++ b/
src/diag-entry.c
@@
-1,10
+1,17
@@
-/*
- * Copyright (C) 1995-2005, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data
* See the file LICENSE for details.
* See the file LICENSE for details.
- *
- * $Id: diag-entry.c,v 1.1 2005-04-22 08:27:58 adam Exp $
*/
*/
+/**
+ * \file diag-entry.c
+ * \brief Diagnostic table lookup
+ */
+
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "diag-entry.h"
const char *yaz_diag_to_str(struct yaz_diag_entry *tab, int code)
#include "diag-entry.h"
const char *yaz_diag_to_str(struct yaz_diag_entry *tab, int code)
@@
-15,3
+22,11
@@
const char *yaz_diag_to_str(struct yaz_diag_entry *tab, int code)
return tab[i].msg;
return "Unknown error";
}
return tab[i].msg;
return "Unknown error";
}
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+