Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 1 | From a57c498f6c25aa297e49533c242525f2b9da7048 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Thu, 13 Aug 2020 18:20:42 -0700 |
| 4 | Subject: [PATCH] Make extern declarations in header file |
| 5 | |
| 6 | curobj is a static object in other places as well. |
| 7 | Fixes build with gcc10/-fno-common |
| 8 | |
| 9 | Upstream-Status: Pending |
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 11 | --- |
| 12 | fdesign/sp_spinner.c | 2 +- |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame^] | 13 | 1 files changed, 1 insertions(+), 1 deletions(-) |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 14 | |
| 15 | diff --git a/fdesign/sp_spinner.c b/fdesign/sp_spinner.c |
| 16 | index 04f2c19..6206daa 100644 |
| 17 | --- a/fdesign/sp_spinner.c |
| 18 | +++ b/fdesign/sp_spinner.c |
| 19 | @@ -29,7 +29,7 @@ |
| 20 | #include "spec/spinner_spec.h" |
| 21 | |
| 22 | static FD_spinnerattrib * spn_attrib; |
| 23 | -FL_OBJECT *curobj; |
| 24 | +static FL_OBJECT *curobj; |
| 25 | |
| 26 | |
| 27 | /*************************************** |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 28 | |
| 29 | -- |
| 30 | 2.28.0 |
| 31 | |