Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Aug 2015 19:40:55 +0000 (UTC)
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r287332 - head/lib/libc/gen
Message-ID:  <201508311940.t7VJetXQ058450@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508311940.t7VJetXQ058450>