Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added prototypes for implicitly declared functions in osdp_phy.c #120

Closed
wants to merge 1 commit into from

Conversation

X-627
Copy link

@X-627 X-627 commented Jun 7, 2023

Added Prototypes for implicitly declared functions

Added Prototypes for implicitly declared functions
Comment on lines +370 to +376
//ADDED PROTOTYPES for implicitly declared functions
int osdp_channel_receive(struct osdp_pd *pd);
int get_tx_buf_size(struct osdp_pd *pd);
int osdp_phy_send_packet(struct osdp_pd *pd, const uint8_t *buf, int len, int buf_size);
int phy_check_header(struct osdp_pd *pd);
int osdp_rb_pop_buf(struct osdp_rb *rb, const uint8_t *max_len, int min_len); //Note: probably needs more useful variable names
int phy_check_packet(struct osdp_pd *pd, const uint8_t *buf, int len);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those are all static methods which should not be exported here.

@sidcha sidcha closed this Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants