Back out the workaround for PSTR() warnings; it doesn't.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@912 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
DrZiplok 2010-11-24 08:06:09 +00:00
parent 165711f028
commit f345d5392f

View File

@ -12,10 +12,6 @@
#include "include/menu.h" #include "include/menu.h"
// Workaround for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34734
#undef PSTR
#define PSTR(s) (__extension__({static prog_char __c[] = (s); &__c[0];}))
// statics // statics
char Menu::_inbuf[MENU_COMMANDLINE_MAX]; char Menu::_inbuf[MENU_COMMANDLINE_MAX];
Menu::arg Menu::_argv[MENU_ARGS_MAX + 1]; Menu::arg Menu::_argv[MENU_ARGS_MAX + 1];