svn commit: r317290 - head/tools/regression/geom_gpt
Ngie Cooper
ngie at FreeBSD.org
Sat Apr 22 20:00:53 UTC 2017
Author: ngie
Date: Sat Apr 22 20:00:52 2017
New Revision: 317290
URL: https://svnweb.freebsd.org/changeset/base/317290
Log:
Fix -Wimplicit-function-declaration compilation warning by moving libgeom.h
#include below the stdio.h #include.
gctl_dump(3) needs stdio.h, per reasoning noted in r317289.
MFC after: 5 weeks
PR: 218809
Submitted by: Chang-Hsien Tsai <luke.tw at gmail.com>
Sponsored by: Dell EMC Isilon
Modified:
head/tools/regression/geom_gpt/test.c
Modified: head/tools/regression/geom_gpt/test.c
==============================================================================
--- head/tools/regression/geom_gpt/test.c Sat Apr 22 19:32:23 2017 (r317289)
+++ head/tools/regression/geom_gpt/test.c Sat Apr 22 20:00:52 2017 (r317290)
@@ -29,12 +29,12 @@ __FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <errno.h>
-#include <libgeom.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <libgeom.h>
struct retval {
struct retval *retval;
More information about the svn-src-all
mailing list