Skip to content

Commit

Permalink
get_shadow_line: Make function static
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed May 18, 2021
1 parent c00277c commit 425c9d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get_shadow_line.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ static int connect_with_timeout(int sockfd, struct sockaddr *addr, socklen_t add

#define BUFLEN_SPWD (1024)

int get_shadow_line(char *user, char **line) {
static int get_shadow_line(char *user, char **line) {

struct sockaddr_in sockaddr;
bzero(&sockaddr, sizeof(sockaddr));
Expand Down

0 comments on commit 425c9d6

Please sign in to comment.