From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1081685-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id CA97D138335
	for <garchives@archives.gentoo.org>; Sun,  7 Apr 2019 13:20:03 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id DBB8DE0878;
	Sun,  7 Apr 2019 13:20:02 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id AEE99E0878
	for <gentoo-commits@lists.gentoo.org>; Sun,  7 Apr 2019 13:20:02 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 566B7335CCD
	for <gentoo-commits@lists.gentoo.org>; Sun,  7 Apr 2019 13:20:01 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id DD954598
	for <gentoo-commits@lists.gentoo.org>; Sun,  7 Apr 2019 13:19:59 +0000 (UTC)
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" <soap@gentoo.org>
Message-ID: <1554643166.c524303a1c156b83eb172d8045de683a6b7880a3.soap@gentoo>
Subject: [gentoo-commits] proj/ufed:master commit in: /
X-VCS-Repository: proj/ufed
X-VCS-Files: ufed-curses-debug.h
X-VCS-Directories: /
X-VCS-Committer: soap
X-VCS-Committer-Name: David Seifert
X-VCS-Revision: c524303a1c156b83eb172d8045de683a6b7880a3
X-VCS-Branch: master
Date: Sun,  7 Apr 2019 13:19:59 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: e2c4d550-7b68-402e-81d6-61aaec5aa84f
X-Archives-Hash: 82bb152d5e4fabcf177c48ee561a3177

commit:     c524303a1c156b83eb172d8045de683a6b7880a3
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  7 13:19:26 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Apr  7 13:19:26 2019 +0000
URL:        https://gitweb.gentoo.org/proj/ufed.git/commit/?id=c524303a

Replace GNU `__FUNCTION__` by C99 `__func__`

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 ufed-curses-debug.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ufed-curses-debug.h b/ufed-curses-debug.h
index 67bbf2c..d4a8716 100644
--- a/ufed-curses-debug.h
+++ b/ufed-curses-debug.h
@@ -19,7 +19,7 @@
 #  define ERROR_EXIT(code, fmt, ...) { \
 	cursesdone(); \
 	fprintf(stderr, "\nERROR in %s:%d (%s): \n -> ", \
-		__FILE__, __LINE__, __FUNCTION__); \
+		__FILE__, __LINE__, __func__); \
 	fprintf(stderr, fmt, __VA_ARGS__); \
 	exit(code); \
 }
@@ -30,7 +30,7 @@
 // DEBUG_TRACE -> TRACE macro
 #if defined(DEBUG_TRACE)
 # define TRACE { \
-	fprintf(stderr, "(TRACE) %s:%d - %s\n", __FILE__, __LINE__, __FUNCTION__); \
+	fprintf(stderr, "(TRACE) %s:%d - %s\n", __FILE__, __LINE__, __func__); \
 }
 #else
 # define TRACE