Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Feb 2017 09:19:49 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r313436 - head/lib/libutil
Message-ID:  <201702080919.v189Jnkd072294@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Wed Feb  8 09:19:49 2017
New Revision: 313436
URL: https://svnweb.freebsd.org/changeset/base/313436

Log:
  Clarify #includes for hexdump(3) vs sbuf_hexdump(9)
  
  hexdump(3) only requires libutil.h, whereas sbuf_hexdump(9) requires
  sys/types.h (for ssize_t) and sys/sbuf.h
  
  MFC after:	3 weeks
  Sponsored by:	Dell EMC Isilon

Modified:
  head/lib/libutil/hexdump.3

Modified: head/lib/libutil/hexdump.3
==============================================================================
--- head/lib/libutil/hexdump.3	Wed Feb  8 09:03:31 2017	(r313435)
+++ head/lib/libutil/hexdump.3	Wed Feb  8 09:19:49 2017	(r313436)
@@ -28,7 +28,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd May 8, 2014
+.Dd February 8, 2017
 .Dt HEXDUMP 3
 .Os
 .Sh NAME
@@ -36,9 +36,10 @@
 .Nd "dump a block of bytes to standard out in hexadecimal form"
 .Sh SYNOPSIS
 .In libutil.h
-.In sys/sbuf.h
 .Ft void
 .Fn hexdump "void *ptr" "int length" "const char *hdr" "int flags"
+.In sys/types.h
+.In sys/sbuf.h
 .Ft void
 .Fo sbuf_hexdump
 .Fa "struct sbuf *sb"



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