summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/bgpd/log.c4
-rw-r--r--usr.sbin/bgpd/session.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/log.c b/usr.sbin/bgpd/log.c
index bfa14db69d7..e411a25f7b0 100644
--- a/usr.sbin/bgpd/log.c
+++ b/usr.sbin/bgpd/log.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.c,v 1.41 2004/11/18 14:10:36 henning Exp $ */
+/* $OpenBSD: log.c,v 1.42 2004/11/18 14:30:10 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -245,7 +245,7 @@ fatal_ensure(const char *file, int line, const char *cond)
}
void
-log_statechange(const struct peer *peer, enum session_state nstate,
+log_statechange(struct peer *peer, enum session_state nstate,
enum session_events event)
{
char *p;
diff --git a/usr.sbin/bgpd/session.h b/usr.sbin/bgpd/session.h
index 4b6e8fe149c..2eb27b72ebb 100644
--- a/usr.sbin/bgpd/session.h
+++ b/usr.sbin/bgpd/session.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.h,v 1.66 2004/11/18 14:10:36 henning Exp $ */
+/* $OpenBSD: session.h,v 1.67 2004/11/18 14:30:10 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -199,7 +199,7 @@ int imsg_compose_parent(int, pid_t, void *, u_int16_t);
int imsg_compose_rde(int, pid_t, void *, u_int16_t);
/* log.c */
-void log_statechange(const struct peer *, enum session_state,
+void log_statechange(struct peer *, enum session_state,
enum session_events);
void log_notification(const struct peer *, u_int8_t, u_int8_t,
u_char *, u_int16_t);