svn commit: r319845 - head/lib/libcam/tests

Ngie Cooper ngie at FreeBSD.org
Mon Jun 12 02:38:39 UTC 2017


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>


More information about the svn-src-head mailing list