Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Dec 2015 05:27:23 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r291984 - head/tools/regression/tls/ttls4
Message-ID:  <201512080527.tB85RNAW031821@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Tue Dec  8 05:27:22 2015
New Revision: 291984
URL: https://svnweb.freebsd.org/changeset/base/291984

Log:
  Add missing stdlib.h header
  
  Apply some minor style(9) fixes
  
  MFC after: 3 days
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/tools/regression/tls/ttls4/ttls4.c

Modified: head/tools/regression/tls/ttls4/ttls4.c
==============================================================================
--- head/tools/regression/tls/ttls4/ttls4.c	Tue Dec  8 05:24:06 2015	(r291983)
+++ head/tools/regression/tls/ttls4/ttls4.c	Tue Dec  8 05:27:22 2015	(r291984)
@@ -9,11 +9,13 @@
 
 #include <stdio.h>
 #include <pthread.h>
+#include <stdlib.h>
 #include <unistd.h>
 
 int __thread n;
 
-void *f1(void *arg)
+void
+*f1(void *arg)
 {
 	if (n != 0) {
 		printf("bug, n == %d \n", n);
@@ -23,7 +25,8 @@ void *f1(void *arg)
 	return (0);
 }
 
-int main()
+int
+main(void)
 {
 	pthread_t td;
 	int i;



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