]> Cypherpunks repositories - gostls13.git/commitdiff
lib9/utf: remove unneccesary includes
authorAnthony Martin <ality@pbrane.org>
Fri, 31 May 2013 22:53:26 +0000 (15:53 -0700)
committerAnthony Martin <ality@pbrane.org>
Fri, 31 May 2013 22:53:26 +0000 (15:53 -0700)
R=golang-dev, r, bradfitz
CC=golang-dev
https://golang.org/cl/8651043

src/lib9/utf/rune.c
src/lib9/utf/utfecpy.c
src/lib9/utf/utflen.c
src/lib9/utf/utfnlen.c
src/lib9/utf/utfrrune.c
src/lib9/utf/utfrune.c
src/lib9/utf/utfutf.c

index 818771cfd967d8b0c05d779e573b7c6a78c0218b..913b786daabdd9283300cad0cc2b63f024026f86 100644 (file)
@@ -12,8 +12,6 @@
  * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
  * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
  */
-#include <stdarg.h>
-#include <string.h>
 #include "utf.h"
 #include "utfdef.h"
 
index d6dc091c44d2a90969033a6ffd07fad90733afa7..76fb571d324dee686b2fb11186ea3870662fb293 100644 (file)
@@ -11,7 +11,7 @@
  * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
  * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
  */
-#include <stdarg.h>
+#define _BSD_SOURCE 1
 #include <string.h>
 #include "utf.h"
 #include "utfdef.h"
index 45653d540cd308f4a068eef5748d08959c60879d..843e6773fce65495a7feeb081eb6c9d251a4c7e0 100644 (file)
@@ -11,8 +11,6 @@
  * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
  * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
  */
-#include <stdarg.h>
-#include <string.h>
 #include "utf.h"
 #include "utfdef.h"
 
index d673c82904beba0b9b0f4d3e901813206c2d8e0a..4b02e6a333b0827104762b412e5adeac7477513f 100644 (file)
@@ -11,8 +11,6 @@
  * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
  * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
  */
-#include <stdarg.h>
-#include <string.h>
 #include "utf.h"
 #include "utfdef.h"
 
index 95d2a9d8af147fdd2ac8a3009fd59c5c90639b31..2273ec55170e6f2475765088ae6dae6981a77647 100644 (file)
@@ -11,7 +11,6 @@
  * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
  * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
  */
-#include <stdarg.h>
 #include <string.h>
 #include "utf.h"
 #include "utfdef.h"
index b4017d26c6ac2673f475fc6de648a9db08ef8cb7..863a1846f32370d140d6bf21cc1e3939b362e599 100644 (file)
@@ -11,7 +11,6 @@
  * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
  * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
  */
-#include <stdarg.h>
 #include <string.h>
 #include "utf.h"
 #include "utfdef.h"
index ec492316566d2e3a9609c473a41ec8ceb6ad68b8..79098535ba12ef40be32d3befd341695cacba660 100644 (file)
@@ -11,7 +11,6 @@
  * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
  * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
  */
-#include <stdarg.h>
 #include <string.h>
 #include "utf.h"
 #include "utfdef.h"