Browse Source

* source/portknock.c : move func definition

master
Alex 'AdUser' Z 8 years ago
parent
commit
a6ae221b24
  1. 12
      src/sources/portknock.c

12
src/sources/portknock.c

@ -31,6 +31,12 @@ struct _config {
f2b_port_t *current;
};
static void
errcb_stub(char *str) {
assert(str != NULL);
(void)(str);
}
static bool
try_parse_listen_opt(f2b_port_t *port, const char *value) {
char buf[256];
@ -66,12 +72,6 @@ try_parse_listen_opt(f2b_port_t *port, const char *value) {
return false;
}
static void
errcb_stub(char *str) {
assert(str != NULL);
(void)(str);
}
cfg_t *
create(const char *init) {
cfg_t *cfg = NULL;

Loading…
Cancel
Save