mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Add missing include file
Compiling on Linux/i586 I get these warnings: nss_db/db-initgroups.c:60:3: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] nss_db/db-initgroups.c:74:7: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] Fixed with inclusion of <string.h>
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
2012-04-06 Andreas Jaeger <aj@suse.de>
|
||||
|
||||
* nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
|
||||
strncmp declarations.
|
||||
|
||||
* abilist/libc.abilist: Add __poll and __ppoll.
|
||||
|
||||
2012-04-05 David S. Miller <davem@davemloft.net>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* Initgroups handling in nss_db module.
|
||||
Copyright (C) 2011 Free Software Foundation, Inc.
|
||||
Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@gmail.com>.
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <errno.h>
|
||||
#include <grp.h>
|
||||
#include <paths.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "nss_db.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user