aboutsummaryrefslogtreecommitdiff
path: root/CodingStyle
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2009-07-28 13:43:35 -0700
committerBen Pfaff <blp@nicira.com>2009-07-30 16:07:13 -0700
commit3d222126b4f4620dfacf41c61860772da8626e03 (patch)
treec5fa9d5aa7cac40fa85238a7ac0e74663bbc6e68 /CodingStyle
parent80992a35775490f05da0740f285a5a9c7acb632a (diff)
netdev: Change netdev_get_mtu() to return an error code.
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.)
Diffstat (limited to 'CodingStyle')
-rw-r--r--CodingStyle2
1 files changed, 1 insertions, 1 deletions
diff --git a/CodingStyle b/CodingStyle
index 126b45a8..69df907a 100644
--- a/CodingStyle
+++ b/CodingStyle
@@ -168,7 +168,7 @@ prototype:
Omit parameter names from function prototypes when the names do not
give useful information, e.g.:
- int netdev_get_mtu(const struct netdev *);
+ int netdev_get_mtu(const struct netdev *, int *mtup);
STATEMENTS