Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[legacy] Fix building with GCC 6
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed May 4, 2016
1 parent 63037bd commit a5885fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/include/nic.h
Expand Up @@ -209,7 +209,8 @@ static inline void * legacy_isa_get_drvdata ( void *hwdev ) {

#undef DRIVER
#define DRIVER(_name_text,_unused2,_unused3,_name,_probe,_disable) \
static const char _name ## _text[] = _name_text; \
static __attribute__ (( unused )) const char \
_name ## _text[] = _name_text; \
static inline int \
_name ## _probe ( struct nic *nic, void *hwdev ) { \
return _probe ( nic, hwdev ); \
Expand Down

0 comments on commit a5885fb

Please sign in to comment.