summaryrefslogtreecommitdiff
path: root/CodingStyle
Commit message (Collapse)AuthorAgeFilesLines
* CodingStyle: Clarify C dialect section and add rationale.Ben Pfaff2010-11-101-6/+11
| | | | Requested-by: Ethan Jackson <ethan@nicira.com>
* CodingStyle: Mention that "free" functions should accept a null pointer.Ben Pfaff2010-11-031-0/+6
| | | | | I've always written OVS code this way, so this just codifies it so that others know.
* CodingStyle: Drop advice about breaking lines before binary operators.Ben Pfaff2010-04-201-7/+2
| | | | | | I like the style that was prescribed here--I find it slightly easier to read--but everyone else who submits code seems to prefer breaking lines after binary operators instead. No point in fighting the tide.
* Cleanup isdigit() warnings.Justin Pettit2009-08-251-1/+3
| | | | | NetBSD's gcc complains if isdigit()'s argument is an unadorned char. This provides an appropriate cast.
* netdev: Change netdev_get_mtu() to return an error code.Ben Pfaff2009-07-301-1/+1
| | | | | | | | | To make the netdev code more portable, it needs to support returning error codes from functions that don't have them. This commit changes netdev_get_mtu() to return an error code and updates its caller. (Currently netdev_get_mtu() won't ever return an error, but other future implementations might.)
* Import from old repository commit 61ef2b42a9c4ba8e1600f15bb0236765edc2ad45.v0.90.0Ben Pfaff2009-07-081-0/+504