aboutsummaryrefslogtreecommitdiff
path: root/CodingStyle
AgeCommit message (Collapse)Author
2010-11-10CodingStyle: Clarify C dialect section and add rationale.Ben Pfaff
Requested-by: Ethan Jackson <ethan@nicira.com>
2010-11-03CodingStyle: Mention that "free" functions should accept a null pointer.Ben Pfaff
I've always written OVS code this way, so this just codifies it so that others know.
2010-04-20CodingStyle: Drop advice about breaking lines before binary operators.Ben Pfaff
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.
2009-08-25Cleanup isdigit() warnings.Justin Pettit
NetBSD's gcc complains if isdigit()'s argument is an unadorned char. This provides an appropriate cast.
2009-07-30netdev: Change netdev_get_mtu() to return an error code.Ben Pfaff
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.)
2009-07-08Import from old repository commit 61ef2b42a9c4ba8e1600f15bb0236765edc2ad45.v0.90.0Ben Pfaff