Added include stdlib.h a few places to get prototype for atoi/exit/..
authorAdam Dickmeiss <adam@indexdata.dk>
Sun, 16 Jan 2005 23:14:56 +0000 (23:14 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Sun, 16 Jan 2005 23:14:56 +0000 (23:14 +0000)
12 files changed:
data1/d1_doespec.c
include/rset.h
index/apitest.c
index/index.h
index/main.c
index/recindex.c
index/zserver.c
isamb/isamb.c
recctrl/regxread.c
rset/rstemp.c
util/charmap.c
util/zebramap.c

index ec33ab3..57d260d 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: d1_doespec.c,v 1.6 2005-01-15 19:38:18 adam Exp $
+/* $Id: d1_doespec.c,v 1.7 2005-01-16 23:14:56 adam Exp $
    Copyright (C) 1995-2005
    Index Data ApS
 
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -21,6 +21,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 */
 
 #include <assert.h>
 */
 
 #include <assert.h>
+#include <stdlib.h>
 
 #include <yaz/log.h>
 #include <yaz/oid.h>
 
 #include <yaz/log.h>
 #include <yaz/oid.h>
index ec09bad..0352a1c 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: rset.h,v 1.45 2005-01-15 20:47:15 adam Exp $
+/* $Id: rset.h,v 1.46 2005-01-16 23:14:56 adam Exp $
    Copyright (C) 1995-2005
    Index Data ApS
 
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -23,8 +23,6 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #ifndef RSET_H
 #define RSET_H
 
 #ifndef RSET_H
 #define RSET_H
 
-#include <stddef.h>
-
 /* unfortunately we need the isam includes here, for the arguments for */
 /* rsisamX_create */
 #include <idzebra/isamb.h> 
 /* unfortunately we need the isam includes here, for the arguments for */
 /* rsisamX_create */
 #include <idzebra/isamb.h> 
index e41ebce..b0e3de2 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: apitest.c,v 1.20 2005-01-15 19:38:24 adam Exp $
+/* $Id: apitest.c,v 1.21 2005-01-16 23:14:57 adam Exp $
    Copyright (C) 1995-2005
    Index Data ApS
 
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -20,9 +20,8 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 02111-1307, USA.
 */
 
 02111-1307, USA.
 */
 
-
-
 #include <stdio.h>
 #include <stdio.h>
+#include <stdlib.h>
 
 #include <yaz/log.h>
 #include <yaz/pquery.h>
 
 #include <yaz/log.h>
 #include <yaz/pquery.h>
index 27c4aa2..36b1c57 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: index.h,v 1.129 2005-01-15 19:38:25 adam Exp $
+/* $Id: index.h,v 1.130 2005-01-16 23:14:57 adam Exp $
    Copyright (C) 1995-2005
    Index Data ApS
 
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -24,6 +24,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #define INDEX_H
 
 #include <time.h>
 #define INDEX_H
 
 #include <time.h>
+#include <stdlib.h>
 #include <idzebra/version.h>
 #include <zebrautl.h>
 #include <sortidx.h>
 #include <idzebra/version.h>
 #include <zebrautl.h>
 #include <sortidx.h>
index 86e49d6..52a7ab0 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.121 2005-01-15 19:38:26 adam Exp $
+/* $Id: main.c,v 1.122 2005-01-16 23:14:57 adam Exp $
    Copyright (C) 1995-2005
    Index Data ApS
 
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -21,6 +21,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 */
 
 #include <stdio.h>
 */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <assert.h>
 #ifdef WIN32
 #include <string.h>
 #include <assert.h>
 #ifdef WIN32
index 793898b..69ed2d1 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: recindex.c,v 1.41 2005-01-15 19:38:26 adam Exp $
+/* $Id: recindex.c,v 1.42 2005-01-16 23:14:57 adam Exp $
    Copyright (C) 1995-2005
    Index Data ApS
 
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -38,6 +38,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
  *      length = 0 if same as previous
  */
 #include <stdio.h>
  *      length = 0 if same as previous
  */
 #include <stdio.h>
+#include <stdlib.h>
 #include <assert.h>
 #include <string.h>
 
 #include <assert.h>
 #include <string.h>
 
index d183d2d..f230f54 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: zserver.c,v 1.127 2005-01-15 19:38:29 adam Exp $
+/* $Id: zserver.c,v 1.128 2005-01-16 23:14:57 adam Exp $
    Copyright (C) 1995-2005
    Index Data ApS
 
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -20,8 +20,9 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 02111-1307, USA.
 */
 
 02111-1307, USA.
 */
 
-#include <stdio.h>
 #include <assert.h>
 #include <assert.h>
+#include <stdio.h>
+#include <stdlib.h>
 #include <fcntl.h>
 #ifdef WIN32
 #include <io.h>
 #include <fcntl.h>
 #ifdef WIN32
 #include <io.h>
index 7bdab0f..54181bf 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: isamb.c,v 1.70 2005-01-16 01:22:14 adam Exp $
+/* $Id: isamb.c,v 1.71 2005-01-16 23:14:57 adam Exp $
    Copyright (C) 1995-2005
    Index Data ApS
 
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -20,6 +20,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 02111-1307, USA.
 */
 
 02111-1307, USA.
 */
 
+#include <stdlib.h>
 #include <string.h>
 #include <yaz/log.h>
 #include <yaz/xmalloc.h>
 #include <string.h>
 #include <yaz/log.h>
 #include <yaz/xmalloc.h>
index b81476b..3d074a8 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: regxread.c,v 1.56 2005-01-15 19:38:32 adam Exp $
+/* $Id: regxread.c,v 1.57 2005-01-16 23:14:57 adam Exp $
    Copyright (C) 1995-2005
    Index Data ApS
 
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -20,8 +20,8 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 02111-1307, USA.
 */
 
 02111-1307, USA.
 */
 
-
 #include <stdio.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <assert.h>
 #include <string.h>
 #include <ctype.h>
 #include <assert.h>
 #include <string.h>
 #include <ctype.h>
index 8b110b6..b2a2820 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: rstemp.c,v 1.57 2005-01-15 19:38:35 adam Exp $
+/* $Id: rstemp.c,v 1.58 2005-01-16 23:14:57 adam Exp $
    Copyright (C) 1995-2005
    Index Data ApS
 
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -21,6 +21,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 */
 
 #include <fcntl.h>
 */
 
 #include <fcntl.h>
+#include <stdlib.h>
 #include <assert.h>
 #ifdef WIN32
 #include <io.h>
 #include <assert.h>
 #ifdef WIN32
 #include <io.h>
index f39f706..8a5d2b8 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: charmap.c,v 1.34 2005-01-15 19:38:41 adam Exp $
+/* $Id: charmap.c,v 1.35 2005-01-16 23:14:58 adam Exp $
    Copyright (C) 1995-2005
    Index Data ApS
 
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -29,6 +29,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 
 #include <ctype.h>
 #include <string.h>
 
 #include <ctype.h>
 #include <string.h>
+#include <stdlib.h>
 #include <assert.h>
 
 typedef unsigned ucs4_t;
 #include <assert.h>
 
 typedef unsigned ucs4_t;
index df217db..005793b 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: zebramap.c,v 1.38 2005-01-15 19:38:42 adam Exp $
+/* $Id: zebramap.c,v 1.39 2005-01-16 23:14:58 adam Exp $
    Copyright (C) 1995-2005
    Index Data ApS
 
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -20,9 +20,8 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 02111-1307, USA.
 */
 
 02111-1307, USA.
 */
 
-
-
 #include <assert.h>
 #include <assert.h>
+#include <stdlib.h>
 #include <ctype.h>
 
 #include <charmap.h>
 #include <ctype.h>
 
 #include <charmap.h>