mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 01:38:57 +00:00
Convert function declarations to ANSI C.
MFC after: 1 week
This commit is contained in:
parent
b059cbd3eb
commit
899cff457e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154661
@ -74,8 +74,7 @@ static struct stack_defn *atm_stack_head = NULL;
|
||||
*
|
||||
*/
|
||||
int
|
||||
atm_sigmgr_register(smp)
|
||||
struct sigmgr *smp;
|
||||
atm_sigmgr_register(struct sigmgr *smp)
|
||||
{
|
||||
struct sigmgr *smp2;
|
||||
int s = splnet();
|
||||
@ -124,8 +123,7 @@ atm_sigmgr_register(smp)
|
||||
*
|
||||
*/
|
||||
int
|
||||
atm_sigmgr_deregister(smp)
|
||||
struct sigmgr *smp;
|
||||
atm_sigmgr_deregister(struct sigmgr *smp)
|
||||
{
|
||||
int found, s = splnet();
|
||||
|
||||
@ -164,9 +162,7 @@ atm_sigmgr_deregister(smp)
|
||||
*
|
||||
*/
|
||||
int
|
||||
atm_sigmgr_attach(pip, proto)
|
||||
struct atm_pif *pip;
|
||||
u_char proto;
|
||||
atm_sigmgr_attach(struct atm_pif *pip, u_char proto)
|
||||
{
|
||||
struct atm_pif *tp;
|
||||
struct sigmgr *smp;
|
||||
@ -258,8 +254,7 @@ atm_sigmgr_attach(pip, proto)
|
||||
*
|
||||
*/
|
||||
int
|
||||
atm_sigmgr_detach(pip)
|
||||
struct atm_pif *pip;
|
||||
atm_sigmgr_detach(struct atm_pif *pip)
|
||||
{
|
||||
struct atm_pif *tp;
|
||||
struct atm_nif *nip;
|
||||
@ -326,8 +321,7 @@ atm_sigmgr_detach(pip)
|
||||
*
|
||||
*/
|
||||
int
|
||||
atm_stack_register(sdp)
|
||||
struct stack_defn *sdp;
|
||||
atm_stack_register(struct stack_defn *sdp)
|
||||
{
|
||||
struct stack_defn *tdp;
|
||||
int s = splnet();
|
||||
@ -376,8 +370,7 @@ atm_stack_register(sdp)
|
||||
*
|
||||
*/
|
||||
int
|
||||
atm_stack_deregister(sdp)
|
||||
struct stack_defn *sdp;
|
||||
atm_stack_deregister(struct stack_defn *sdp)
|
||||
{
|
||||
int found, s = splnet();
|
||||
|
||||
@ -422,10 +415,8 @@ atm_stack_deregister(sdp)
|
||||
*
|
||||
*/
|
||||
int
|
||||
atm_create_stack(cvp, tlp, upf)
|
||||
Atm_connvc *cvp;
|
||||
struct stack_list *tlp;
|
||||
void (*upf)(int, void *, intptr_t, intptr_t);
|
||||
atm_create_stack(Atm_connvc *cvp, struct stack_list *tlp,
|
||||
void (*upf)(int, void *, intptr_t, intptr_t))
|
||||
{
|
||||
struct stack_defn *sdp, usd;
|
||||
struct stack_inst svs;
|
||||
@ -518,4 +509,3 @@ atm_create_stack(cvp, tlp, upf)
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user