summaryrefslogtreecommitdiff
path: root/src/stream
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-02-12 21:30:06 +0000
committerMyles Watson <mylesgw@gmail.com>2009-02-12 21:30:06 +0000
commit552b327ca39f12b21a9e1a8dfdb71f3f26abf256 (patch)
tree6b47a55381e7cbe3c58afec9db4612d32fc5dfd3 /src/stream
parent7f86ed122068f34de4e8723b83e0d9b053cea9a2 (diff)
downloadcoreboot-552b327ca39f12b21a9e1a8dfdb71f3f26abf256.tar.xz
This patch converts __FUNCTION__ to __func__, since __func__ is standard.
Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3943 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/stream')
-rw-r--r--src/stream/rom_stream.c2
-rw-r--r--src/stream/serial_stream.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/stream/rom_stream.c b/src/stream/rom_stream.c
index 9357cf7e08..3c3614c608 100644
--- a/src/stream/rom_stream.c
+++ b/src/stream/rom_stream.c
@@ -124,7 +124,7 @@ byte_offset_t stream_skip(byte_offset_t count)
bytes = count;
if ((rom + bytes - 1) > rom_end) {
printk_warning("%6d:%s() - overflowed source buffer\n",
- __LINE__, __FUNCTION__);
+ __LINE__, __func__);
bytes = 0;
if (rom <= rom_end) {
bytes = (rom_end - rom) + 1;
diff --git a/src/stream/serial_stream.c b/src/stream/serial_stream.c
index 5be6624ac4..9fb53cf2af 100644
--- a/src/stream/serial_stream.c
+++ b/src/stream/serial_stream.c
@@ -73,7 +73,7 @@ byte_offset_t stream_skip(byte_offset_t count)
{
if ((stream_start + count) > stream_end) {
printk_warning("%6d:%s() - overflowed source buffer\n",
- __LINE__, __FUNCTION__);
+ __LINE__, __func__);
count = 0;
if (stream_start <= stream_end) {
count = (stream_end - stream_start) + 1;