Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Aug 2013 13:20:37 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 325625 for review
Message-ID:  <201308141320.r7EDKbH5000100@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@325625?ac=10

Change 325625 by rwatson@rwatson_cinnamon on 2013/08/14 13:19:57

	Allow sendfile unit test to compile with higher warning levels;
	I'm using this to exercise sendfile cases for TESLA.

Affected files ...

.. //depot/projects/ctsrd/tesla/src/tools/regression/sockets/sendfile/sendfile.c#2 edit

Differences ...

==== //depot/projects/ctsrd/tesla/src/tools/regression/sockets/sendfile/sendfile.c#2 (text) ====

@@ -76,10 +76,10 @@
 	uint32_t	length;
 };
 
-int	file_fd;
-char	path[PATH_MAX];
-int	listen_socket;
-int	accept_socket;
+static int	file_fd;
+static char	path[PATH_MAX];
+static int	listen_socket;
+static int	accept_socket;
 
 static int test_th(struct test_header *th, uint32_t *header_length,
 		uint32_t *offset, uint32_t *length);



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