Author: rodrigc
Date: Mon Aug 31 19:40:54 2015
New Revision: 287332
URL: https://svnweb.freebsd.org/changeset/base/287332
Log:
Include stdlib.h to get devname() prototype.
Eliminates -Wmissing-prototypes warnings with gcc
Modified:
head/lib/libc/gen/devname.c
Modified: head/lib/libc/gen/devname.c
==============================================================================
--- head/lib/libc/gen/devname.c Mon Aug 31 19:20:18 2015 (r287331)
+++ head/lib/libc/gen/devname.c Mon Aug 31 19:40:54 2015 (r287332)
@@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$");
#include <stdio.h>
#include <stdint.h>
+#include <stdlib.h>
#include <string.h>
#include <sys/param.h>
#include <sys/stat.h>
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"