Skip to content

Commit

Permalink
nss_db: Quash read implicit declaration warning
Browse files Browse the repository at this point in the history
In the function `internal_setent' is used the function read, but the forward
declaration is missing.  Thusly fixed.
  • Loading branch information
Marek Polacek authored and Ulrich Drepper committed Jun 24, 2011
1 parent fa3fc0f commit 07f494a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2011-06-23 Marek Polacek <mpolacek@redhat.com>

* nss/nss_db/db-open.c: Include <unistd.h> for read declaration.

2011-06-22 Ulrich Drepper <drepper@gmail.com>

[BZ #12907]
Expand Down
1 change: 1 addition & 0 deletions nss/nss_db/db-open.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <dlfcn.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/mman.h>
#include <not-cancel.h>

Expand Down

0 comments on commit 07f494a

Please sign in to comment.