Hi Ulrich, * Ulrich Spörlein <[email protected]> wrote: > Comments? Committers?
Wouldn't it better to address the root of the problem while there? ;-)
Index: number.c
===================================================================
--- number.c (revision 197852)
+++ number.c (working copy)
@@ -88,9 +88,7 @@
int lflag;
int
-main(argc, argv)
- int argc;
- char *argv[];
+main(int argc, char *argv[])
{
int ch, first;
char line[256];
@@ -275,7 +273,7 @@
pfract(len)
int len;
{
- static char *pref[] = { "", "ten-", "hundred-" };
+ static char const * const pref[] = { "", "ten-", "hundred-" };
switch(len) {
case 1:
--
Ed Schouten <[email protected]>
WWW: http://80386.nl/
pgpMcujHjChWW.pgp
Description: PGP signature

