[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/geas/src geas-server.h objectcache/objectc...
From: |
Daniel E. Baumann |
Subject: |
gnue/geas/src geas-server.h objectcache/objectc... |
Date: |
Fri, 08 Jun 2001 22:58:41 -0700 |
CVSROOT: /cvs
Module name: gnue
Changes by: Daniel E. Baumann <address@hidden> 01/06/08 22:58:40
Modified files:
geas/src : geas-server.h
geas/src/objectcache: objectcache.c
geas/src/objectstore: objectstore.c postgresql.c
Log message:
Fix warnings.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/geas/src/geas-server.h.diff?cvsroot=OldCVS&tr1=1.43&tr2=1.44&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/geas/src/objectcache/objectcache.c.diff?cvsroot=OldCVS&tr1=1.48&tr2=1.49&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/geas/src/objectstore/objectstore.c.diff?cvsroot=OldCVS&tr1=1.64&tr2=1.65&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/geas/src/objectstore/postgresql.c.diff?cvsroot=OldCVS&tr1=1.3&tr2=1.4&r1=text&r2=text
Patches:
Index: gnue/geas/src/geas-server.h
diff -u gnue/geas/src/geas-server.h:1.43 gnue/geas/src/geas-server.h:1.44
--- gnue/geas/src/geas-server.h:1.43 Tue May 29 12:46:40 2001
+++ gnue/geas/src/geas-server.h Fri Jun 8 22:58:40 2001
@@ -95,7 +95,7 @@
/* see macros below */
void debug_output_f(char *type, int minlevel, char *file, char *func,
- unsigned int line, char *msg, ...);
+ unsigned int line, const char *msg, ...);
void error_message_out(char *type, char *file, char *func,
unsigned int line, char *msg, ...);
Index: gnue/geas/src/objectcache/objectcache.c
diff -u gnue/geas/src/objectcache/objectcache.c:1.48
gnue/geas/src/objectcache/objectcache.c:1.49
--- gnue/geas/src/objectcache/objectcache.c:1.48 Fri Jun 8 15:42:42 2001
+++ gnue/geas/src/objectcache/objectcache.c Fri Jun 8 22:58:40 2001
@@ -1,6 +1,5 @@
-
/*
- objectcache.c -
+ objectcache.c - Object cache.
Part of GNU Enterprise Application Server (GEAS)
@@ -20,8 +19,7 @@
along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- $Id: objectcache.c,v 1.48 2001/06/08 22:42:42 reinhard Exp $
-
+ $Id: objectcache.c,v 1.49 2001/06/09 05:58:40 baumannd Exp $
*/
#include "config.h"
Index: gnue/geas/src/objectstore/objectstore.c
diff -u gnue/geas/src/objectstore/objectstore.c:1.64
gnue/geas/src/objectstore/objectstore.c:1.65
--- gnue/geas/src/objectstore/objectstore.c:1.64 Fri Jun 8 15:42:43 2001
+++ gnue/geas/src/objectstore/objectstore.c Fri Jun 8 22:58:40 2001
@@ -19,7 +19,7 @@
along with GEAS; if not, write to the Free Software Foundation, Inc.,
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- $Id: objectstore.c,v 1.64 2001/06/08 22:42:43 reinhard Exp $
+ $Id: objectstore.c,v 1.65 2001/06/09 05:58:40 baumannd Exp $
*/
#include "config.h"
@@ -34,9 +34,9 @@
/* compile time hard limit */
#ifdef MAX_DATABASE_CONNECTIONS
-static int max_database_connections = MAX_DATABASE_CONNECTIONS;
+static unsigned int max_database_connections = MAX_DATABASE_CONNECTIONS;
#else
-static int max_database_connections = 1; /* default of 1 connection per
+static unsigned int max_database_connections = 1; /* default of 1
connection per
database */
#endif
@@ -411,7 +411,7 @@
close_object_store (void)
{
GList *l;
- int i;
+ unsigned int i;
trace_functioncall ();
l = database_list;
Index: gnue/geas/src/objectstore/postgresql.c
diff -u gnue/geas/src/objectstore/postgresql.c:1.3
gnue/geas/src/objectstore/postgresql.c:1.4
--- gnue/geas/src/objectstore/postgresql.c:1.3 Wed Jun 6 16:45:33 2001
+++ gnue/geas/src/objectstore/postgresql.c Fri Jun 8 22:58:40 2001
@@ -20,7 +20,7 @@
along with GEAS; if not, write to the Free Software Foundation, Inc.,
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- $Id: postgresql.c,v 1.3 2001/06/06 23:45:33 ntiffin Exp $
+ $Id: postgresql.c,v 1.4 2001/06/09 05:58:40 baumannd Exp $
*/
#include "config.h"
@@ -92,7 +92,7 @@
{
struct postgresql_handle *h = (struct postgresql_handle *) hnd;
struct active_connection *retval = NULL;
- int i;
+ unsigned int i;
/*
* find available connection:
@@ -256,7 +256,7 @@
PGresult *res = NULL;
int row;
- int tries = 0;
+ unsigned int tries = 0;
int PQerrorcode;
/* claim a connection */
@@ -512,7 +512,7 @@
static void
postgresql_delete_database_handle (struct database_handle *hnd)
{
- int i;
+ unsigned int i;
struct postgresql_handle *h = (struct postgresql_handle *) hnd;
if (h)
@@ -929,7 +929,7 @@
struct database_handle *
postgresql_create_database_handle (configuration config, const char *dbname)
{
- int i;
+ unsigned int i;
struct database_handle *h = g_malloc (sizeof (struct database_handle));
if (h)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/geas/src geas-server.h objectcache/objectc...,
Daniel E. Baumann <=