Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | From 5d5c83c89be0cff29dde2267fa168e6f7146be8c Mon Sep 17 00:00:00 2001 |
| 2 | From: Robert Yang <liezhi.yang@windriver.com> |
| 3 | Date: Mon, 4 May 2015 22:31:48 -0700 |
| 4 | Subject: [PATCH] base/gendev.c: fix for -Werror=return-type |
| 5 | |
| 6 | Fixed: |
| 7 | base/gendev.c:80:1: error: return type defaults to 'int' [-Werror=return-type] |
| 8 | |
| 9 | Upstream-Status: Pending |
| 10 | |
| 11 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> |
| 12 | --- |
| 13 | base/gendev.c | 1 + |
| 14 | 1 file changed, 1 insertion(+) |
| 15 | |
| 16 | diff --git a/base/gendev.c b/base/gendev.c |
| 17 | index 68a745f..8058b5a 100644 |
| 18 | --- a/base/gendev.c |
| 19 | +++ b/base/gendev.c |
| 20 | @@ -77,6 +77,7 @@ static const char *indent_item = ""; |
| 21 | /* Forward definitions */ |
| 22 | void add_entry(config *, const char *, const char *, bool); |
| 23 | |
| 24 | +int |
| 25 | main(int argc, char *argv[]) |
| 26 | { |
| 27 | config conf; |
| 28 | -- |
| 29 | 1.7.9.5 |
| 30 | |