svn commit: r341233 - head/usr.bin/trim

Eugene Grosbein eugen at FreeBSD.org
Thu Nov 29 14:49:34 UTC 2018


Author: eugen
Date: Thu Nov 29 14:49:33 2018
New Revision: 341233
URL: https://svnweb.freebsd.org/changeset/base/341233

Log:
  trim(1): unbreak build after r341232 for platforms using gcc and not clang
  
  MFC after:	1 month

Modified:
  head/usr.bin/trim/trim.c

Modified: head/usr.bin/trim/trim.c
==============================================================================
--- head/usr.bin/trim/trim.c	Thu Nov 29 14:21:26 2018	(r341232)
+++ head/usr.bin/trim/trim.c	Thu Nov 29 14:49:33 2018	(r341233)
@@ -42,8 +42,10 @@
 #include <sysexits.h>
 #include <unistd.h>
 
+#ifndef lint
 static const char rcsid[] =
     "$FreeBSD$";
+#endif /* not lint */
 
 static int	trim(char *path, off_t offset, off_t length, int dryrun, int verbose);
 static off_t	getsize(char *path);
@@ -54,9 +56,8 @@ main(int argc, char **argv)
 {
 	off_t offset, length;
 	uint64_t usz;
-	int dryrun, error, verbose;
+	int ch, dryrun, error, verbose;
 	char *fname, *name;
-	char ch;
 
 	error = 0;
 	length = offset = 0;


More information about the svn-src-head mailing list