[CDRIVER-179] Some functions should be static Created: 02/Nov/12  Updated: 19/Oct/16  Resolved: 14/Nov/12

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 0.7

Type: Bug Priority: Trivial - P5
Reporter: Jerome Lebel Assignee: Gary Murakami
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Mac os x



 Description   

I'm getting some warning since some functions doesn't have declarations and are not static. Those functions should be static since they are used only in the file where they are defined

I fixed it with : https://github.com/mongodb/mongo-c-driver/pull/54



 Comments   
Comment by Gary Murakami [ 14/Nov/12 ]

Merged, thanks!

Comment by auto [ 14/Nov/12 ]

Author:

{u'date': u'2012-11-14T20:54:24Z', u'email': u'gary.murakami@10gen.com', u'name': u'gjmurakami-10gen'}

Message: Merge pull request #54 from fotonauts/static_functions_pull_request

functions should have a declaration or should be static
CDRIVER-179 Some functions should be static
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/fe6642df480fa1747599902b8b3c0979013a9445

Generated at Wed Feb 07 21:08:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.