Print this page
10120 smatch indenting fixes for usr/src/cmd
Reviewed by: Gergő Doma <domag02@gmail.com>
Portions contributed by: Joyce McIntosh <joyce.mcintosh@nexenta.com>
*** 11,21 ****
* Copyright (c) 1986 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
! #pragma ident "%Z%%M% %I% %E% SMI"
/*
* Compress - data compression program
*/
#define min(a, b) ((a > b) ? b : a)
--- 11,23 ----
* Copyright (c) 1986 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
! /*
! * Copyright (c) 2018, Joyent, Inc.
! */
/*
* Compress - data compression program
*/
#define min(a, b) ((a > b) ? b : a)
*** 1801,1810 ****
--- 1803,1813 ----
*(htab_p-3) = m1;
*(htab_p-2) = m1;
*(htab_p-1) = m1;
htab_p -= 16;
} while ((i -= 16) >= 0);
+
for (i += 16; i > 0; i--)
*--htab_p = m1;
}
static void