diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2020-05-07 09:27:07 -0400 |
---|---|---|
committer | Christopher Michael <devilhorns@comcast.net> | 2020-05-07 09:27:07 -0400 |
commit | d135957ffa0ae429f4ca22662de8633771984485 (patch) | |
tree | 8dcacdd71c83d4c5a7ffb239e428dd81e5d725df /src/benchmarks | |
parent | de939ca64b3d17ee786f3fc621314fce1746334e (diff) | |
download | efl-d135957ffa0ae429f4ca22662de8633771984485.tar.gz |
Use __func__ C99 identifier instead of __FUNCTION__ compiler extension
Summary: see http://www.open-std.org/JTC1/SC22/wg14/www/docs/n1124.pdf section 6.4.2.2 page 52
Test Plan: compilation
Reviewers: raster, devilhorns
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D11785
Diffstat (limited to 'src/benchmarks')
-rw-r--r-- | src/benchmarks/eina/Ecore_Data.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/benchmarks/eina/Ecore_Data.h b/src/benchmarks/eina/Ecore_Data.h index 6641eff267..a085401242 100644 --- a/src/benchmarks/eina/Ecore_Data.h +++ b/src/benchmarks/eina/Ecore_Data.h @@ -69,7 +69,7 @@ extern "C" { "\t%s();\n\n" \ "\tWith the parameter:\n\n" \ "\t%s\n\n" \ - "\tbeing NULL. Please fix your program.", __FUNCTION__, sparam); \ + "\tbeing NULL. Please fix your program.", __func__, sparam); \ if (getenv("ECORE_ERROR_ABORT")) { abort(); } \ return ret; \ } @@ -83,14 +83,14 @@ extern "C" { "\t%s();\n\n" \ "\tWith the parameter:\n\n" \ "\t%s\n\n" \ - "\tbeing NULL. Please fix your program.", __FUNCTION__, sparam); \ + "\tbeing NULL. Please fix your program.", __func__, sparam); \ if (getenv("ECORE_ERROR_ABORT")) { abort(); } \ return; \ } # ifdef __sgi -# define __FUNCTION__ "unknown" +# define __func__ "unknown" # ifndef __cplusplus # define inline # endif |