Messages in this thread Patch in this message | | | Date | Fri, 7 Feb 2014 17:31:52 +0530 | From | Rashika Kheria <> | Subject | [PATCH 1/9] mm: Mark function as static in compaction.c |
| |
Mark function as static in compaction.c because it is not used outside this file.
This eliminates the following warning from mm/compaction.c: mm/compaction.c:1190:9: warning: no previous prototype for ‘sysfs_compact_node’ [-Wmissing-prototypes
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> --- mm/compaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/compaction.c b/mm/compaction.c index 805165b..a21f540 100644 --- a/mm/compaction.c +++ b/mm/compaction.c @@ -1187,7 +1187,7 @@ int sysctl_extfrag_handler(struct ctl_table *table, int write, } #if defined(CONFIG_SYSFS) && defined(CONFIG_NUMA) -ssize_t sysfs_compact_node(struct device *dev, +static ssize_t sysfs_compact_node(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) { -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |