Browse Source

include <foo> -> include "foo"

master
Felix von Leitner 4 years ago
parent
commit
81c4d3787d
22 changed files with 41 additions and 41 deletions
  1. +1
    -1
      buffer/buffer_close.c
  2. +1
    -1
      buffer/buffer_getline.c
  3. +1
    -1
      buffer/buffer_mmapread.c
  4. +1
    -1
      buffer/errmsg_puts.c
  5. +4
    -4
      examples/buffer_getline.c
  6. +2
    -2
      examples/str.c
  7. +1
    -1
      io/io_debugstring.c
  8. +1
    -1
      io/io_waituntil2.c
  9. +1
    -1
      stralloc/stralloc_chomp.c
  10. +1
    -1
      stralloc/stralloc_chop.c
  11. +1
    -1
      stralloc/stralloc_zero.c
  12. +1
    -1
      test/buffer_mmap.c
  13. +2
    -2
      test/cdbget2.c
  14. +2
    -2
      test/dnsip.c
  15. +1
    -1
      test/fmt.c
  16. +3
    -3
      test/fmt_httpdate.c
  17. +2
    -2
      test/fmt_human.c
  18. +2
    -2
      test/fmt_iso8691.c
  19. +2
    -2
      test/fmt_long.c
  20. +3
    -3
      test/fmt_longlong.c
  21. +5
    -5
      test/marshal.c
  22. +3
    -3
      test/scan_long.c

+ 1
- 1
buffer/buffer_close.c View File

@@ -1,4 +1,4 @@
#include <buffer.h>
#include "buffer.h"
#include <unistd.h>

void buffer_close(buffer* b) {


+ 1
- 1
buffer/buffer_getline.c View File

@@ -1,4 +1,4 @@
#include <buffer.h>
#include "buffer.h"

ssize_t buffer_getline(buffer* b,char* x,size_t len) {
return buffer_get_token(b,x,len,"\n",1);


+ 1
- 1
buffer/buffer_mmapread.c View File

@@ -1,4 +1,4 @@
#include <buffer.h>
#include "buffer.h"
#include <mmap.h>

static ssize_t op() {


+ 1
- 1
buffer/errmsg_puts.c View File

@@ -1,6 +1,6 @@
#include "errmsg.h"
#include "errmsg_int.h"
#include <str.h>
#include "str.h"

#ifdef __MINGW32__



+ 4
- 4
examples/buffer_getline.c View File

@@ -1,7 +1,7 @@
#include <stralloc.h>
#include <buffer.h>
#include <io.h>
#include <errmsg.h>
#include "stralloc.h"
#include "buffer.h"
#include "io.h"
#include "errmsg.h"
#include <unistd.h>

int main() {


+ 2
- 2
examples/str.c View File

@@ -1,5 +1,5 @@
#include <str.h>
#include <buffer.h>
#include "str.h"
#include "buffer.h"

/*
* The str_* functions have a pretty similar functionality to the byte_* ones


+ 1
- 1
io/io_debugstring.c View File

@@ -1,6 +1,6 @@
#include "io_internal.h"
#include <iarray.h>
#include <fmt.h>
#include "fmt.h"
#include <sys/time.h>

unsigned int io_debugstring(int64 s,char* buf,unsigned int bufsize) {


+ 1
- 1
io/io_waituntil2.c View File

@@ -29,7 +29,7 @@
#endif

#ifdef __dietlibc__
#include <fmt.h>
#include "fmt.h"
#include <write12.h>
#endif



+ 1
- 1
stralloc/stralloc_chomp.c View File

@@ -1,4 +1,4 @@
#include <stralloc.h>
#include "stralloc.h"

int stralloc_chomp(stralloc* sa) {
size_t max=sa->len;


+ 1
- 1
stralloc/stralloc_chop.c View File

@@ -1,4 +1,4 @@
#include <stralloc.h>
#include "stralloc.h"

int stralloc_chop(stralloc* sa) {
if (sa->len==0) return -1;


+ 1
- 1
stralloc/stralloc_zero.c View File

@@ -1,4 +1,4 @@
#include <stralloc.h>
#include "stralloc.h"

void stralloc_zero(stralloc* sa) {
sa->len=0;


+ 1
- 1
test/buffer_mmap.c View File

@@ -1,4 +1,4 @@
#include <buffer.h>
#include "buffer.h"

int main() {
buffer input;


+ 2
- 2
test/cdbget2.c View File

@@ -1,9 +1,9 @@
#include <cdb.h>
#include <buffer.h>
#include "buffer.h"
#include <unistd.h>
#include <fcntl.h>
#include <stdlib.h>
#include <errmsg.h>
#include "errmsg.h"

#ifndef O_BINARY
#define O_BINARY 0


+ 2
- 2
test/dnsip.c View File

@@ -1,9 +1,9 @@
#include <dns.h>
#include <ip4.h>
#include <buffer.h>
#include "buffer.h"
#include <errno.h>
#include <string.h>
#include <errmsg.h>
#include "errmsg.h"

int main(int argc,char* argv[]) {
static char seed[128];


+ 1
- 1
test/fmt.c View File

@@ -1,4 +1,4 @@
#include <fmt.h>
#include "fmt.h"
#include <string.h>
#include <assert.h>



+ 3
- 3
test/fmt_httpdate.c View File

@@ -1,7 +1,7 @@
#include <time.h>
#include <scan.h>
#include <buffer.h>
#include <fmt.h>
#include "scan.h"
#include "buffer.h"
#include "fmt.h"

int main() {
char buf[100];


+ 2
- 2
test/fmt_human.c View File

@@ -1,5 +1,5 @@
#include <fmt.h>
#include <buffer.h>
#include "fmt.h"
#include "buffer.h"

int main() {
char buf[1024];


+ 2
- 2
test/fmt_iso8691.c View File

@@ -1,5 +1,5 @@
#include <fmt.h>
#include <scan.h>
#include "fmt.h"
#include "scan.h"
#include <assert.h>
#include <unistd.h>



+ 2
- 2
test/fmt_long.c View File

@@ -1,5 +1,5 @@
#include <fmt.h>
#include <str.h>
#include "fmt.h"
#include "str.h"
#include <assert.h>

int main() {


+ 3
- 3
test/fmt_longlong.c View File

@@ -1,7 +1,7 @@
#include <fmt.h>
#include <str.h>
#include "fmt.h"
#include "str.h"
#include <assert.h>
#include <scan.h>
#include "scan.h"
#include <byte.h>

int main() {


+ 5
- 5
test/marshal.c View File

@@ -3,10 +3,10 @@
#include <stdio.h>
#include <stdlib.h>

#include <fmt.h>
#include <stralloc.h>
#include <buffer.h>
#include <scan.h>
#include "fmt.h"
#include "stralloc.h"
#include "buffer.h"
#include "scan.h"
#include <textcode.h>
#include <byte.h>
#include <uint16.h>
@@ -14,7 +14,7 @@
#include <uint64.h>
#include <openreadclose.h>
#include <mmap.h>
#include <str.h>
#include "str.h"

char buf[100];
stralloc sa;


+ 3
- 3
test/scan_long.c View File

@@ -1,6 +1,6 @@
#include <scan.h>
#include <fmt.h>
#include <buffer.h>
#include "scan.h"
#include "fmt.h"
#include "buffer.h"
#include <assert.h>

int main() {


Loading…
Cancel
Save