Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:michals
dhcpcd
dhcpcd-unused.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dhcpcd-unused.patch of Package dhcpcd
Index: dhcpcd-3.2.3/common.h =================================================================== --- dhcpcd-3.2.3.orig/common.h +++ dhcpcd-3.2.3/common.h @@ -34,9 +34,9 @@ #include <string.h> #if __GNUC__ > 2 || defined(__INTEL_COMPILER) -# define _unused __attribute__((__unused__)) +# define _dhcpcd_unused __attribute__((__dhcpcd_unused__)) #else -# define _unused +# define _dhcpcd_unused #endif #define HAVE_STRLCPY Index: dhcpcd-3.2.3/interface.c =================================================================== --- dhcpcd-3.2.3.orig/interface.c +++ dhcpcd-3.2.3/interface.c @@ -196,7 +196,7 @@ size_t hwaddr_aton (unsigned char *buffe } static int _do_interface (const char *ifname, - _unused unsigned char *hwaddr, _unused size_t *hwlen, + _dhcpcd_unused unsigned char *hwaddr, _dhcpcd_unused size_t *hwlen, struct in_addr *addr, bool flush, bool get) { @@ -306,7 +306,7 @@ static int _do_interface (const char *if return retval; } -interface_t *read_interface (const char *ifname, _unused int metric) +interface_t *read_interface (const char *ifname, _dhcpcd_unused int metric) { int s; struct ifreq ifr; @@ -491,7 +491,7 @@ int set_mtu (const char *ifname, short i static void log_route (struct in_addr destination, struct in_addr netmask, struct in_addr gateway, - _unused int metric, + _dhcpcd_unused int metric, int change, int del) { char *dstd = xstrdup (inet_ntoa (destination));
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor