Skip to content

Commit e03fb84

Browse files
committed
Bring back set_aumessage_mode
Leave this in the ABI until 2027 to allow existing programs to keep working. No new programs can use it.
1 parent 322a7af commit e03fb84

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

common/common.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,13 @@ void wall_message(const char *fmt, ...)
9494

9595
typedef enum { MSG_STDERR, MSG_SYSLOG, MSG_QUIET } message_t;
9696
typedef enum { DBG_NO, DBG_YES } debug_message_t;
97-
void set_aumessage_mode(message_t mode, debug_message_t debug);
9897

9998
AUDIT_HIDDEN_END
99+
100+
// Leave this exposed until 2027, then hide it for good.
101+
// This allows programs already compiled to keep working.
102+
// But new programs can't see it.
103+
void set_aumessage_mode(message_t mode, debug_message_t debug);
104+
100105
#endif
101106

0 commit comments

Comments
 (0)