Skip to content

Commit 436d61f

Browse files
committed
Make a couple functions private
1 parent 9bcf961 commit 436d61f

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

auparse/normalize.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1093,7 +1093,7 @@ static const char *normalize_determine_evkind(int type)
10931093
return evtype_i2s(kind);
10941094
}
10951095

1096-
const char *find_config_change_object(auparse_state_t *au)
1096+
static const char *find_config_change_object(auparse_state_t *au)
10971097
{
10981098
const char *f;
10991099

lib/private.h

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@ struct auditd_remote_message_wrapper {
113113
seq = _AUDIT_RMW_GETN32 (header,12);
114114

115115
/* General */
116+
extern int audit_send(int fd, int type, const void *data, unsigned int size);
117+
extern int __audit_send(int fd, int type, const void *data, unsigned int size, int *seq);
118+
119+
AUDIT_HIDDEN_START
116120
/* Internal syslog messaging */
117121
void audit_msg(int priority, const char *fmt, ...)
118122
#ifdef __GNUC__
@@ -121,11 +125,6 @@ void audit_msg(int priority, const char *fmt, ...)
121125
;
122126
#endif
123127

124-
extern int audit_send(int fd, int type, const void *data, unsigned int size);
125-
extern int __audit_send(int fd, int type, const void *data, unsigned int size, int *seq);
126-
127-
AUDIT_HIDDEN_START
128-
129128
// This is the main messaging function used internally
130129
extern int audit_send_user_message(int fd, int type, hide_t hide_err,
131130
const char *message);

0 commit comments

Comments
 (0)