Browse Source

fixed typos.

master
Felix von Leitner 20 years ago
parent
commit
f432739bd6
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      buffer/buffer_putsalign.c
  2. +1
    -1
      buffer/buffer_putsflush.c
  3. +1
    -1
      unix/ndelay_off.c

+ 1
- 1
buffer/buffer_putsalign.c View File

@ -1,6 +1,6 @@
#include "str.h"
#include "buffer.h"
int buffer_puts(buffer* b,const char* x) {
int buffer_putsalign(buffer* b,const char* x) {
return buffer_putalign(b,x,str_len(x));
}

+ 1
- 1
buffer/buffer_putsflush.c View File

@ -1,6 +1,6 @@
#include "str.h"
#include "buffer.h"
int buffer_puts(buffer* b,const char* x) {
int buffer_putsflush(buffer* b,const char* x) {
return buffer_putflush(b,x,str_len(x));
}

+ 1
- 1
unix/ndelay_off.c View File

@ -7,6 +7,6 @@
#define O_NDELAY O_NONBLOCK
#endif
int ndelay_on(int fd) {
int ndelay_off(int fd) {
return fcntl(fd,F_SETFL,fcntl(fd,F_GETFL,0) & ~O_NDELAY);
}

Loading…
Cancel
Save