From owner-svn-src-head@freebsd.org Sun Sep 20 04:15:38 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF42DA05871; Sun, 20 Sep 2015 04:15:38 +0000 (UTC) (envelope-from rodrigc@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BF5D612A3; Sun, 20 Sep 2015 04:15:38 +0000 (UTC) (envelope-from rodrigc@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8K4FcZw076540; Sun, 20 Sep 2015 04:15:38 GMT (envelope-from rodrigc@FreeBSD.org) Received: (from rodrigc@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8K4FcT3076537; Sun, 20 Sep 2015 04:15:38 GMT (envelope-from rodrigc@FreeBSD.org) Message-Id: <201509200415.t8K4FcT3076537@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rodrigc set sender to rodrigc@FreeBSD.org using -f From: Craig Rodrigues Date: Sun, 20 Sep 2015 04:15:38 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r288012 - head/lib/libc/net X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2015 04:15:38 -0000 Author: rodrigc Date: Sun Sep 20 04:15:37 2015 New Revision: 288012 URL: https://svnweb.freebsd.org/changeset/base/288012 Log: Add missing includes to eliminate -Wmissing-prototypes warnings Modified: head/lib/libc/net/ntoh.c head/lib/libc/net/sockatmark.c Modified: head/lib/libc/net/ntoh.c ============================================================================== --- head/lib/libc/net/ntoh.c Sun Sep 20 04:06:55 2015 (r288011) +++ head/lib/libc/net/ntoh.c Sun Sep 20 04:15:37 2015 (r288012) @@ -28,6 +28,8 @@ __FBSDID("$FreeBSD$"); #include +#define _BYTEORDER_FUNC_DEFINED +#include uint32_t htonl(uint32_t hl) Modified: head/lib/libc/net/sockatmark.c ============================================================================== --- head/lib/libc/net/sockatmark.c Sun Sep 20 04:06:55 2015 (r288011) +++ head/lib/libc/net/sockatmark.c Sun Sep 20 04:15:37 2015 (r288012) @@ -26,6 +26,7 @@ */ #include "namespace.h" #include +#include #include "un-namespace.h" int sockatmark(int s)