Skip to content

Commit bff7a25

Browse files
committed
mark some spp plugin functions static
Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
1 parent d2705c6 commit bff7a25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spp/mfdnscheck.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,21 @@
2828
#define ERR_TEMPORARY -1
2929
#define ERR_NOEXIST -2
3030

31-
void nack(const char *msg)
31+
static void nack(const char *msg)
3232
{
3333
printf("E550 sorry, %s (#5.1.8)\n", msg);
3434
fprintf(stderr, "mfdnscheck: blocked with: %s\n", msg);
3535
exit(1);
3636
}
3737

38-
void fail(const char *mse)
38+
static void fail(const char *mse)
3939
{
4040
printf("E451 %s (#4.4.0)\n", mse);
4141
fprintf(stderr, "mfdnscheck: temporary failure: %s\n", mse);
4242
exit(1);
4343
}
4444

45-
int checkdns(char *hostname, int type)
45+
static int checkdns(char *hostname, int type)
4646
{
4747
unsigned char buf[PACKETSZ];
4848

0 commit comments

Comments
 (0)