Page MenuHomeFreeBSD

Correct function prototype for STAILQ_SWAP in manpage
ClosedPublic

Authored by akshay1994.leo_gmail.com on Aug 6 2016, 10:16 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 1, 12:20 AM
Unknown Object (File)
Jan 16 2024, 6:33 PM
Unknown Object (File)
Dec 20 2023, 2:41 AM
Unknown Object (File)
Dec 18 2023, 1:52 AM
Unknown Object (File)
Nov 13 2023, 12:08 PM
Unknown Object (File)
Nov 7 2023, 12:24 PM
Unknown Object (File)
Nov 5 2023, 1:50 PM
Unknown Object (File)
Oct 28 2023, 3:44 AM

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

akshay1994.leo_gmail.com retitled this revision from to Correct function prototype for STAILQ_SWAP in manpage.
akshay1994.leo_gmail.com updated this object.
akshay1994.leo_gmail.com edited the test plan for this revision. (Show Details)
akshay1994.leo_gmail.com set the repository for this revision to rS FreeBSD src repository - subversion.
wblock added a reviewer: wblock.
wblock added a subscriber: wblock.

Looks okay to me (correcting a cut-and-paste error). Next time, a little bit of explanation in the Details section of the review would help to explain not just what is being done, but why.

This revision is now accepted and ready to land.Aug 6 2016, 10:40 AM
This revision was automatically updated to reflect the committed changes.

Hi bjk,

Only the Prototypes for SLIST and STAILQ were wrong.
LIST and TAILQ do require "LIST_ENTRY NAME" and "TAILQ_ENTRY NAME", respectively.

Refer: https://github.com/freebsd/freebsd/blob/master/sys/sys/queue.h#L523
and
https://github.com/freebsd/freebsd/blob/master/sys/sys/queue.h#L736

Hi bjk,

Only the Prototypes for SLIST and STAILQ were wrong.
LIST and TAILQ do require "LIST_ENTRY NAME" and "TAILQ_ENTRY NAME", respectively.

Thanks for pointing it out; I must have been looking at the SLIST one in queue.h by accident while I was checking. Should be fixed in r303805