mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 23:03:04 +00:00
remove support for lint
Basically revert commit 12ce2df60d.
http://lists.gnu.org/archive/html/bison-patches/2012-08/msg00004.html
* data/c.m4, data/glr.c, data/yacc.c (YYID): Remove.
No longer use ARGSUSED.
* src/getargs.c: Restore simpler inclusion of getopt.h (anyway, since
then we now use gnulib which certainly protects us from such issues).
This commit is contained in:
@@ -26,20 +26,7 @@
|
||||
#include <c-strcase.h>
|
||||
#include <configmake.h>
|
||||
#include <error.h>
|
||||
|
||||
/* Hack to get <getopt.h> to declare getopt with a prototype. */
|
||||
#if lint && ! defined __GNU_LIBRARY__
|
||||
# define __GNU_LIBRARY__
|
||||
# define HACK_FOR___GNU_LIBRARY___PROTOTYPE 1
|
||||
#endif
|
||||
|
||||
#include <getopt.h>
|
||||
|
||||
#ifdef HACK_FOR___GNU_LIBRARY___PROTOTYPE
|
||||
# undef __GNU_LIBRARY__
|
||||
# undef HACK_FOR___GNU_LIBRARY___PROTOTYPE
|
||||
#endif
|
||||
|
||||
#include <progname.h>
|
||||
|
||||
#include "complain.h"
|
||||
|
||||
Reference in New Issue
Block a user