2004-09-03  Roland McGrath  <roland@redhat.com>

	* util.c (xlookup, printxval, addflags, printflags): Use const for
	struct xlat * argument.
	* defs.h (xlookup, printxval, addflags, printflags): Update decls.
	* bjm.c: Add const to all struct xlat defns.
	* desc.c: Likewise.
	* file.c: Likewise.
	* ipc.c: Likewise.
	* mem.c: Likewise.
	* net.c: Likewise.
	* proc.c: Likewise.
	* process.c: Likewise.
	* resource.c: Likewise.
	* signal.c: Likewise.
	* sock.c: Likewise.
	* stream.c: Likewise.
	* system.c: Likewise.
	* term.c: Likewise.
	* time.c: Likewise.
	* util.c: Likewise.
diff --git a/bjm.c b/bjm.c
index 586da53..2bd0279 100644
--- a/bjm.c
+++ b/bjm.c
@@ -77,7 +77,7 @@
 	long usecount;
 };
 
-static struct xlat which[] = {
+static const struct xlat which[] = {
 	{ 0,		"0"		},
 	{ QM_MODULES,	"QM_MODULES"	},
 	{ QM_DEPS,	"QM_DEPS"	},
@@ -87,7 +87,7 @@
 	{ 0,		NULL		},
 };
 
-static struct xlat modflags[] = {
+static const struct xlat modflags[] = {
 	{ MOD_UNINITIALIZED,	"MOD_UNINITIALIZED"	},
 	{ MOD_RUNNING,		"MOD_RUNNING"		},
 	{ MOD_DELETED,		"MOD_DELETED"		},
@@ -148,7 +148,7 @@
 					}
 					free(data);
 				}
-			} else 
+			} else
 				tprintf(" /* %Zu entries */ ", ret);
 			tprintf("}, %Zu", ret);
 		} else if (tcp->u_arg[1]==QM_SYMBOLS) {
@@ -204,4 +204,3 @@
 	return 0;
 }
 #endif /* LINUX */
-