/contrib/sdk/sources/newlib/libc/Makefile |
553,7 → 553,6 |
|
LIB_SRCS:= $(STATIC_SRCS) |
LIB_OBJS:= $(STATIC_OBJS) |
CFLAGS += -DSTATIC_LIBC |
|
else |
|
668,10 → 667,7 |
%.o : %.c Makefile |
$(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $< |
|
%.o : %.S Makefile |
$(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $< |
|
|
clean: |
-rm -f */*.o |
|
/contrib/sdk/sources/newlib/libc/sys/open.c |
115,7 → 115,6 |
if(hid < 0) |
{ |
errno = EMFILE; |
__io_free(hid); |
return (-1); |
}; |
|
137,7 → 136,6 |
if( !err ) |
{ |
errno = EEXIST; |
__io_free(hid); |
return (-1); |
}; |
} |
149,7 → 147,6 |
if( err ) |
{ |
errno = EACCES; |
__io_free(hid); |
return -1; |
}; |
}; |