Skip to content

Commit

Permalink
llc: Make function pointer arrays const
Browse files Browse the repository at this point in the history
It's better when function pointer arrays aren't modifiable.

Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
JoePerches authored and davem330 committed Dec 10, 2014
1 parent b95bf1e commit 14b7d95
Show file tree
Hide file tree
Showing 3 changed files with 237 additions and 237 deletions.
2 changes: 1 addition & 1 deletion include/net/llc_c_st.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ struct llc_conn_state_trans {
llc_conn_ev_t ev;
u8 next_state;
llc_conn_ev_qfyr_t *ev_qualifiers;
llc_conn_action_t *ev_actions;
const llc_conn_action_t *ev_actions;
};

struct llc_conn_state {
Expand Down
Loading

0 comments on commit 14b7d95

Please sign in to comment.