diff options
author | Alan Modra <amodra@gmail.com> | 2002-06-08 07:38:30 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-06-08 07:38:30 +0000 |
commit | b1f88ebebf2f43710223a81747ee7d8504e94b47 (patch) | |
tree | 2cce7118cc9aadab09206468cfd11d6c338adfeb /binutils/bucomm.c | |
parent | 5a38dc70b43becf6e5865c90d5dcaf254f5af0e1 (diff) | |
download | gdb-b1f88ebebf2f43710223a81747ee7d8504e94b47.zip gdb-b1f88ebebf2f43710223a81747ee7d8504e94b47.tar.gz gdb-b1f88ebebf2f43710223a81747ee7d8504e94b47.tar.bz2 |
* bucomm.c: Replace CONST with const.
* nm.c: Likewise.
* objdump.c: Likewise.
Diffstat (limited to 'binutils/bucomm.c')
-rw-r--r-- | binutils/bucomm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/binutils/bucomm.c b/binutils/bucomm.c index 1ae7f5c..35112fc 100644 --- a/binutils/bucomm.c +++ b/binutils/bucomm.c @@ -1,5 +1,5 @@ /* bucomm.c -- Bin Utils COMmon code. - Copyright 1991, 1992, 1993, 1994, 1995, 1997, 1998, 2000, 2001 + Copyright 1991, 1992, 1993, 1994, 1995, 1997, 1998, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -42,9 +42,9 @@ char *program_name; void bfd_nonfatal (string) - CONST char *string; + const char *string; { - CONST char *errmsg = bfd_errmsg (bfd_get_error ()); + const char *errmsg = bfd_errmsg (bfd_get_error ()); if (string) fprintf (stderr, "%s: %s: %s\n", program_name, string, errmsg); @@ -54,7 +54,7 @@ bfd_nonfatal (string) void bfd_fatal (string) - CONST char *string; + const char *string; { bfd_nonfatal (string); xexit (1); @@ -178,7 +178,7 @@ print_arelt_descr (file, abfd, verbose) char modebuf[11]; char timebuf[40]; time_t when = buf.st_mtime; - CONST char *ctime_result = (CONST char *) ctime (&when); + const char *ctime_result = (const char *) ctime (&when); /* POSIX format: skip weekday and seconds from ctime output. */ sprintf (timebuf, "%.12s %.4s", ctime_result + 4, ctime_result + 20); |