From 3d222126b4f4620dfacf41c61860772da8626e03 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 28 Jul 2009 13:43:35 -0700 Subject: 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.) --- CodingStyle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CodingStyle') 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 -- cgit v1.2.3