mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
Fix to make us compile cleanly with gcc 2.8.
Jeremy.
This commit is contained in:
parent
1da47e79d3
commit
0a53568007
@ -170,7 +170,6 @@ reopen the log files
|
||||
****************************************************************************/
|
||||
void reopen_logs(void)
|
||||
{
|
||||
extern FILE *dbf;
|
||||
pstring fname;
|
||||
|
||||
if (DEBUGLEVEL > 0)
|
||||
@ -3647,7 +3646,6 @@ void reset_globals_after_fork()
|
||||
******************************************************************/
|
||||
char *client_name(void)
|
||||
{
|
||||
extern int Client;
|
||||
struct sockaddr sa;
|
||||
struct sockaddr_in *sockin = (struct sockaddr_in *) (&sa);
|
||||
int length = sizeof(sa);
|
||||
@ -3690,7 +3688,6 @@ char *client_name(void)
|
||||
******************************************************************/
|
||||
char *client_addr(void)
|
||||
{
|
||||
extern int Client;
|
||||
struct sockaddr sa;
|
||||
struct sockaddr_in *sockin = (struct sockaddr_in *) (&sa);
|
||||
int length = sizeof(sa);
|
||||
|
Loading…
Reference in New Issue
Block a user