Skip to content

Commit

Permalink
2005-12-15 Thomas Schwinge <tschwinge@gnu.org>
Browse files Browse the repository at this point in the history
	* io/xmknodat.c: Include <stddef.h>.
	* misc/futimesat.c: Remove weak_alias and correct stub_warning.
	* stdio-common/renameat.c (renameat): Fix typo.
  • Loading branch information
Roland McGrath committed Dec 20, 2005
1 parent 00c2b3b commit 322a48c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions io/xmknodat.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

#include <errno.h>
#include <fcntl.h>
#include <stddef.h>
#include <sys/types.h>
#include <sys/stat.h>

Expand Down
4 changes: 1 addition & 3 deletions misc/futimesat.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,5 @@ futimesat (fd, file, tvp)
return -1;
}

weak_alias (__utimes, utimes)

stub_warning (utimes)
stub_warning (futimesat)
#include <stub-tag.h>
2 changes: 1 addition & 1 deletion stdio-common/renameat.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ renameat (oldfd, old, newfd, new)
int newfd;
const char *new;
{
if ((oldfd < 0 & oldfd !_ AT_FDCWD) || (newfd < 0 && newfd != AT_FDCWD))
if ((oldfd < 0 & oldfd != AT_FDCWD) || (newfd < 0 && newfd != AT_FDCWD))
{
__set_errno (EBADF);
return -1;
Expand Down

0 comments on commit 322a48c

Please sign in to comment.