After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 336532 - declaration of 'link' shadows a global declaration
declaration of 'link' shadows a global declaration
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: nm-applet
git master
Other Linux
: Normal normal
: ---
Assigned To: Robert Love
Dan Williams
Depends on:
Blocks:
 
 
Reported: 2006-03-29 19:13 UTC by Christian Persch
Modified: 2006-05-25 20:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Persch 2006-03-29 19:13:55 UTC
While compiling gnome/applet/, I got this problem:

In file included from applet.h:37,
                 from main.c:33:
nm-device.h:98: warning: declaration of 'link' shadows a global declaration
/usr/include/unistd.h:729: warning: shadowed declaration is here

The parameter should be renamed in nm-device.h:98
Comment 1 Robert Love 2006-05-25 20:13:40 UTC
Actually, unistd.h should not globally export to the entire system a common four letter word.  And this is fixed in later glibc releases.

But I went ahead and fixed it, renaming link, in both our stable and HEAD branch.

Thanks.