Page MenuHomeFreeBSD

Add prototype for random_harvest_queue
ClosedPublic

Authored by stevek on Nov 20 2015, 6:39 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 1, 1:28 AM
Unknown Object (File)
Sep 30 2024, 11:08 PM
Unknown Object (File)
Sep 30 2024, 6:01 PM
Unknown Object (File)
Sep 30 2024, 2:50 PM
Unknown Object (File)
Sep 29 2024, 11:25 PM
Unknown Object (File)
Sep 23 2024, 8:29 PM
Unknown Object (File)
Sep 19 2024, 6:03 AM
Unknown Object (File)
Sep 18 2024, 2:38 PM
Subscribers

Details

Reviewers
sjg
jmg
markm
Summary

Add a prototype for random_harvest_queue to dev/random/random_harvestq.h
This fixes a warning that occurs in a number of files that use the random_harvest_queue function.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

stevek retitled this revision from to Add prototype for random_harvest_queue.
stevek updated this object.
stevek edited the test plan for this revision. (Show Details)
stevek added a reviewer: markm.
stevek set the repository for this revision to rS FreeBSD src repository - subversion.
sjg added inline comments.
sys/dev/random/random_harvestq.h
46–48

I would omit the variable names.

stevek edited edge metadata.

Updated with suggested comments.

sjg added a reviewer: sjg.

LGTM

This revision is now accepted and ready to land.Jun 8 2016, 5:13 PM
markm edited edge metadata.

Looks OK to me.

Looks like the prototype exists in random.h already. I'll need to go back and find out what was complaining in the compiler that needed the change. Probably a missing include for sys/random.h or something like that.