Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2018 14:49:33 +0000 (UTC)
From:      Eugene Grosbein <eugen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r341233 - head/usr.bin/trim
Message-ID:  <201811291449.wATEnXIY072818@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



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