Skip to content

Commit

Permalink
fix some types
Browse files Browse the repository at this point in the history
  • Loading branch information
laffer1 committed Dec 1, 2024
1 parent 670bf58 commit be35e01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sys/contrib/ngatm/netnatm/api/ccatm.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ struct ccuser *cc_user_create(struct ccdata *, void *, const char *);
void cc_user_destroy(struct ccuser *);

/* signal from user */
int cc_user_signal(struct ccuser *, u_int, struct uni_msg *);
int cc_user_signal(struct ccuser *, enum atmop, struct uni_msg *);

/* Management is given up on this node. */
void cc_unmanage(struct ccdata *);
Expand Down
4 changes: 2 additions & 2 deletions sys/contrib/ngatm/netnatm/sig/sig_reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ TIMER_FUNC_UNI(t316, t316_func)
* Reset-Start process.
*/
void
uni_sig_start(struct uni *uni, u_int sig, uint32_t cookie,
uni_sig_start(struct uni *uni, enum start_sig sig, uint32_t cookie,
struct uni_msg *m, struct uni_all *u)
{
if (sig >= SIGS_END) {
Expand Down Expand Up @@ -435,7 +435,7 @@ start_status(struct uni *uni, struct uni_msg *m, struct uni_all *u)
* Reset-Respond process.
*/
void
uni_sig_respond(struct uni *uni, u_int sig, uint32_t cookie,
uni_sig_respond(struct uni *uni, enum respond_sig sig, uint32_t cookie,
struct uni_msg *m, struct uni_all *u)
{
if (sig >= SIGR_END) {
Expand Down

0 comments on commit be35e01

Please sign in to comment.