Add ARI (ok) marker for __func__ reference in common-utils.h
authorJoel Brobecker <brobecker@adacore.com>
Tue, 21 Jan 2014 10:16:57 +0000 (14:16 +0400)
committerJoel Brobecker <brobecker@adacore.com>
Wed, 22 Jan 2014 05:03:31 +0000 (09:03 +0400)
commit46bbb3edacf5a86d3f84de52593119396b448b69
treee9c56d4288ebd49af663ddf4137a67158b4effdf
parent3a80edfc74646ed5e651d60e7b4f95d165175a89
Add ARI (ok) marker for __func__ reference in common-utils.h

The ARI script flagged the use of the __func__ variable, which
is normally not allowed (not defined in C90). However, this particular
use is OK, as the reference is only made when __STDC_VERSION__ >=
199901L.  So, add an "ARI:" comment to explicitly OK this use.

gdb/ChangeLog:

        * common/common-utils.h: Add "ARI:" comment beside __func__
        reference.
gdb/ChangeLog
gdb/common/common-utils.h
This page took 0.0249 seconds and 4 git commands to generate.