mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Stomp another compiler warning: sc_devfs_token[] should only be declared
if DEVFS is #defined.
This commit is contained in:
parent
8a095c52ed
commit
afe0e92aa8
3 changed files with 9 additions and 3 deletions
|
|
@ -25,7 +25,7 @@
|
|||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: syscons.c,v 1.149 1996/05/12 12:36:59 joerg Exp $
|
||||
* $Id: syscons.c,v 1.150 1996/05/27 06:02:52 peter Exp $
|
||||
*/
|
||||
|
||||
#include "sc.h"
|
||||
|
|
@ -90,7 +90,9 @@ static default_attr kernel_default = {
|
|||
|
||||
static scr_stat main_console;
|
||||
static scr_stat *console[MAXCONS];
|
||||
#ifdef DEVFS
|
||||
static void *sc_devfs_token[MAXCONS];
|
||||
#endif
|
||||
scr_stat *cur_console;
|
||||
static scr_stat *new_scp, *old_scp;
|
||||
static term_stat kernel_console;
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: syscons.c,v 1.149 1996/05/12 12:36:59 joerg Exp $
|
||||
* $Id: syscons.c,v 1.150 1996/05/27 06:02:52 peter Exp $
|
||||
*/
|
||||
|
||||
#include "sc.h"
|
||||
|
|
@ -90,7 +90,9 @@ static default_attr kernel_default = {
|
|||
|
||||
static scr_stat main_console;
|
||||
static scr_stat *console[MAXCONS];
|
||||
#ifdef DEVFS
|
||||
static void *sc_devfs_token[MAXCONS];
|
||||
#endif
|
||||
scr_stat *cur_console;
|
||||
static scr_stat *new_scp, *old_scp;
|
||||
static term_stat kernel_console;
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: syscons.c,v 1.149 1996/05/12 12:36:59 joerg Exp $
|
||||
* $Id: syscons.c,v 1.150 1996/05/27 06:02:52 peter Exp $
|
||||
*/
|
||||
|
||||
#include "sc.h"
|
||||
|
|
@ -90,7 +90,9 @@ static default_attr kernel_default = {
|
|||
|
||||
static scr_stat main_console;
|
||||
static scr_stat *console[MAXCONS];
|
||||
#ifdef DEVFS
|
||||
static void *sc_devfs_token[MAXCONS];
|
||||
#endif
|
||||
scr_stat *cur_console;
|
||||
static scr_stat *new_scp, *old_scp;
|
||||
static term_stat kernel_console;
|
||||
|
|
|
|||
Loading…
Reference in a new issue