PERFORCE change 325625 for review

Robert Watson rwatson at FreeBSD.org
Wed Aug 14 13:20:43 UTC 2013


http://p4web.freebsd.org/@@325625?ac=10

Change 325625 by rwatson at 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);


More information about the p4-projects mailing list