Author: rmeggins
Update of /cvs/dirsec/adminserver/lib/libsi18n
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1119/adminserver/lib/libsi18n
Modified Files:
getstrmem.h
Log Message:
Fix various compiler warnings about define redefinitions, unused functions/variables,
wrong types being cast, etc.
Index: getstrmem.h
===================================================================
RCS file: /cvs/dirsec/adminserver/lib/libsi18n/getstrmem.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- getstrmem.h 18 Aug 2005 19:20:24 -0000 1.4
+++ getstrmem.h 4 Dec 2008 20:01:30 -0000 1.5
@@ -31,7 +31,6 @@
#define NUM_BUCKETS 32 /* must be a power of 2 */
/* strings in library libadmin */
-static char* libadminid[] = {"$DBT: libadmin in memory v1 $"};
static char* libadmin[] = {
"",
" Help ",
@@ -67,7 +66,6 @@
{emptyString,NULL,0} };
/* strings in library userforms */
-static char* userformsid[] = {"$DBT: userforms in memory v1 $"};
static char* userforms[] = {
"",
"Error: could not open servers list file.<p>\n",
@@ -91,7 +89,6 @@
{emptyString,NULL,0} };
/* strings in library libaccess */
-static char* libaccessid[] = {"$DBT: libaccess in memory v1 $"};
static char* libaccess[] = {
"",
"basic-ncsa",
@@ -252,7 +249,6 @@
{emptyString,NULL,0} };
/* strings in library frame */
-static char* frameid[] = {"$DBT: frame in memory v1 $"};
static char* frame[] = {
"",
"<TITLE>Not Found</TITLE><H1>Not Found</H1> The requested
object does not exist on this server. The link you followed is either outdated,
inaccurate, or the server has been instructed not to let you have it. ",
@@ -443,7 +439,6 @@
{emptyString,NULL,0} };
/* strings in library admserv */
-static char* admservid[] = {"$DBT: admserv in memory v1 $"};
static char* admserv[] = {
"",
"Unauthorized host",
@@ -455,7 +450,6 @@
emptyString };
/* strings in library libir */
-static char* libirid[] = {"$DBT: libadmin in memory v1 $"};
static char* libir[] = {
"",
"An I/O error occurred before all form data could be read.",
@@ -472,7 +466,6 @@
{emptyString,NULL,0} };
/* strings in library httpdaemon */
-static char* httpdaemonid[] = {"$DBT: httpdaemon in memory v1 $"};
static char* httpdaemon[] = {
"",
"Error in ConvertThreadToFiber",
@@ -518,7 +511,6 @@
{emptyString,NULL,0} };
/* strings in library dsgw */
-static char* dsgwid[] = {"$DBT: dsgw in memory v1 $"};
static char* dsgw[] = {
"",
"Unknown HTTP request method",
@@ -834,7 +826,6 @@
{emptyString,NULL,0} };
/* strings in library base */
-static char* baseid[] = {"$DBT: base in memory v1 $"};
static char* base[] = {
"",
"insufficient memory to create hash table",
@@ -1050,7 +1041,6 @@
{emptyString,NULL,0} };
/* strings in library cgiadmin */
-static char* cgiadminid[] = {"$DBT: cgiadmin in memory v1 $"};
static char* cgiadmin[] = {
"",
"Missing REQUEST_METHOD",