[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nano-devel] nano build errors (revision 4384)

From: Eitan Adler
Subject: [Nano-devel] nano build errors (revision 4384)
Date: Tue, 17 Feb 2009 19:33:57 -0500
User-agent: Mozilla (X11; U; FreeBSD i386; en-US; ) Gecko Thunderbird Mnenhy/

These errors occur in a few places

global.c:118: error: redefinition of 'bool nodelay_mode'
proto.h:79: error: 'bool nodelay_mode' previously declared here
global.c: In function 'void add_to_funcs(short int, int, const char*,
const char*, bool, bool)':
global.c:235: error: invalid conversion from 'void*' to 'subnfunc*'
global.c: In function 'void add_to_sclist(int, char*, short int, int, int)':
global.c:295: error: invalid conversion from 'void*' to 'sc*'
global.c: At global scope:
global.c:412: error: redefinition of 'const char* cancel_msg'
proto.h:793: error: 'const char* cancel_msg' previously declared here
global.c:415: error: redefinition of 'const char* case_sens_msg'
proto.h:795: error: 'const char* case_sens_msg' previously declared here


this patch removes some duplicates in proto.h

--- proto.h     (revision 4384)
+++ proto.h     (working copy)
@@ -811,11 +811,6 @@
 const char *append_msg;
 const char *prepend_msg;
 const char *backup_file_msg;
-const char *dos_format_msg;
-const char *mac_format_msg;
-const char *append_msg;
-const char *prepend_msg;
-const char *backup_file_msg;
 const char *gototext_msg;
 const char *new_buffer_msg;
 void iso_me_harder_funcmap(short func);

Eitan Adler
freeBSD nano-devel port maintainer.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]