summaryrefslogtreecommitdiffstats
path: root/discover/params.h
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2017-04-27 15:35:45 +1000
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2017-06-20 14:19:53 +1000
commit18158dcd2e9e78ecf77374153801e01b0187e6ed (patch)
treea10571e589d5cc269c1b085ace70bfa37c27778e /discover/params.h
parent41ed6ff3d8821de44e576147e5d2402d56018af3 (diff)
downloadpetitboot-18158dcd2e9e78ecf77374153801e01b0187e6ed.zip
petitboot-18158dcd2e9e78ecf77374153801e01b0187e6ed.tar.gz
discover/device-handler: Include makedev() from sysmacros.h
Include sys/sysmacros.h explicitly in response to the following error message: ../discover/device-handler.c:1001:13: warning: In the GNU C Library, "makedev" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "makedev", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "makedev", you should undefine it after including <sys/types.h>. id = makedev(1, handler->n_ramdisks); ^~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'discover/params.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud