summaryrefslogtreecommitdiff
path: root/binutils/bucomm.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-06-08 07:38:30 +0000
committerAlan Modra <amodra@bigpond.net.au>2002-06-08 07:38:30 +0000
commit615cba6c64eaa7cf1b30ea3ff68fdb74076494cb (patch)
treefc452df94dda1baf85aafe5b4b0dea2ad2007dcf /binutils/bucomm.c
parent09152e348889760073809bd5875b4fb57829db7a (diff)
downloadbinutils-redhat-615cba6c64eaa7cf1b30ea3ff68fdb74076494cb.tar.gz
* bucomm.c: Replace CONST with const.
* nm.c: Likewise. * objdump.c: Likewise.
Diffstat (limited to 'binutils/bucomm.c')
-rw-r--r--binutils/bucomm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/binutils/bucomm.c b/binutils/bucomm.c
index 1ae7f5c918..35112fc716 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);