GNOME Bugzilla – Bug 336532
declaration of 'link' shadows a global declaration
Last modified: 2006-05-25 20:13:40 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
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.