Browse Source

cleanup includes now that stat, lstat no longer make direct syscalls

master
Rich Felker 7 years ago
parent
commit
67bf602f14
  1. 1
      src/stat/lstat.c
  2. 1
      src/stat/stat.c

1
src/stat/lstat.c

@ -1,6 +1,5 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#include "syscall.h"
int lstat(const char *restrict path, struct stat *restrict buf) int lstat(const char *restrict path, struct stat *restrict buf)
{ {

1
src/stat/stat.c

@ -1,6 +1,5 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#include "syscall.h"
int stat(const char *restrict path, struct stat *restrict buf) int stat(const char *restrict path, struct stat *restrict buf)
{ {

Loading…
Cancel
Save