summaryrefslogtreecommitdiff
path: root/showslab
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2016-02-02 15:35:33 -0800
committerDan Albert <danalbert@google.com>2016-02-02 16:33:01 -0800
commit879785074ca93e13896ce364a45eb5cc17081c4a (patch)
tree53c9f2456a600403f9cbea126c0c3690b68982c8 /showslab
parentdd681db9a7978abeb783af206406cfcae0b8514d (diff)
downloadextras-879785074ca93e13896ce364a45eb5cc17081c4a.tar.gz
Fix warnings in system/extras.
Bug: http://b/26936282 Change-Id: I1b9c6c9bb06944c32abcb871279d056eea0fb11a
Diffstat (limited to 'showslab')
-rw-r--r--showslab/showslab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/showslab/showslab.c b/showslab/showslab.c
index 9c9e60eb..08acbf81 100644
--- a/showslab/showslab.c
+++ b/showslab/showslab.c
@@ -243,7 +243,7 @@ BUILD_SORT_FUNC(nr_pages)
* set_sort_func - return the slab_sort_func that matches the given key.
* On unrecognizable key, the call returns NULL.
*/
-static void * set_sort_func(char key)
+static sort_t set_sort_func(char key)
{
switch (tolower(key)) {
case 'a':