Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2017 02:38:37 +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: r319845 - head/lib/libcam/tests
Message-ID:  <201706120238.v5C2cbLi023890@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Mon Jun 12 02:38:37 2017
New Revision: 319845
URL: https://svnweb.freebsd.org/changeset/base/319845

Log:
  Remove stdlib.h #include added in r319844
  
  A previous iteration of the tests I added in r319844 involved free(3), but
  that attempt didn't pan out, so I switched to stack allocated buffers instead
  of heap allocated ones, making the #include unnecessary.
  
  MFC after:	1 month
  MFC with:	r319844

Modified:
  head/lib/libcam/tests/libcam_test.c

Modified: head/lib/libcam/tests/libcam_test.c
==============================================================================
--- head/lib/libcam/tests/libcam_test.c	Mon Jun 12 02:12:22 2017	(r319844)
+++ head/lib/libcam/tests/libcam_test.c	Mon Jun 12 02:38:37 2017	(r319845)
@@ -30,7 +30,6 @@ __FBSDID("$FreeBSD$");
 #include <errno.h>
 #include <fcntl.h>
 #include <stdio.h>
-#include <stdlib.h>
 #include <camlib.h>
 
 #include <atf-c.h>



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