summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/ChangeLog5
-rw-r--r--c/src/optman/sapi/no-io.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/c/src/ChangeLog b/c/src/ChangeLog
index 76adc61c6d..e5b0bfda8d 100644
--- a/c/src/ChangeLog
+++ b/c/src/ChangeLog
@@ -1,5 +1,10 @@
2006-01-08 Joel Sherrill <joel@OARcorp.com>
+ * optman/sapi/no-io.c: Change rtems_io_register_name to take a const
+ char *.
+
+2006-01-08 Joel Sherrill <joel@OARcorp.com>
+
* libchip/i2c/i2c-2b-eeprom.c, libchip/i2c/i2c-ds1621.c: Eliminate
warnings.
diff --git a/c/src/optman/sapi/no-io.c b/c/src/optman/sapi/no-io.c
index e22b99185c..76a2a2219b 100644
--- a/c/src/optman/sapi/no-io.c
+++ b/c/src/optman/sapi/no-io.c
@@ -59,9 +59,9 @@ rtems_status_code rtems_io_unregister_driver(
}
rtems_status_code rtems_io_register_name(
- char *device_name,
- rtems_device_major_number major,
- rtems_device_minor_number minor
+ const char *device_name,
+ rtems_device_major_number major,
+ rtems_device_minor_number minor
)
{
_Internal_error_Occurred(