code: drawterm

Download patch

ref: 74af129a2094d40e5b3a94c1116cf83cee84b928
parent: b1b106c0e54db71a8229d349d6458e0a27c4e835
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Nov 30 16:52:29 EST 2017

libsec: make includes consistent for sha2block*.c

--- a/libsec/sha2block128.c
+++ b/libsec/sha2block128.c
@@ -4,8 +4,8 @@
  *   note: the following upper and lower case macro names are distinct
  *	   and reflect the functions defined in FIPS pub. 180-2.
  */
-#include <u.h>
-#include <libc.h>
+
+#include "os.h"
 
 #define ROTR(x,n)	(((x) >> (n)) | ((x) << (64-(n))))
 #define sigma0(x)	(ROTR((x),1) ^ ROTR((x),8) ^ ((x) >> 7))
--- a/libsec/sha2block64.c
+++ b/libsec/sha2block64.c
@@ -5,8 +5,7 @@
  *	   and reflect the functions defined in FIPS pub. 180-2.
  */
 
-#include <u.h>
-#include <libc.h>
+#include "os.h"
 
 #define ROTR(x,n)	(((x) >> (n)) | ((x) << (32-(n))))
 #define sigma0(x)	(ROTR((x),7) ^ ROTR((x),18) ^ ((x) >> 3))