From 552b327ca39f12b21a9e1a8dfdb71f3f26abf256 Mon Sep 17 00:00:00 2001 From: Myles Watson Date: Thu, 12 Feb 2009 21:30:06 +0000 Subject: This patch converts __FUNCTION__ to __func__, since __func__ is standard. Signed-off-by: Myles Watson Acked-by: Carl-Daniel Hailfinger git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3943 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/stream/rom_stream.c | 2 +- src/stream/serial_stream.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/stream') 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; -- cgit v1.2.3