bk: 491a877fgeKMXPEj9-XqNVuUEiZ6kg
+* Cleanup lint from the ntp_scanner files.
* [Bug 1011] gmtime() returns NULL on windows where it would not under Unix.
* Updated caljulian.c and prettydate.c from Juergen Perlinger.
(4.2.5p139) 2008/11/11 Released by Harlan Stenn <stenn@ntp.org>
*/
if ((expect_string == NO_ARG) && (!instring)) {
- if (token = is_keyword(yytext, &expect_string))
+ token = is_keyword(yytext, &expect_string);
+ if (token)
return token;
else if (is_integer(yytext)) {
errno = 0;
/* Structure to hold a filename, file pointer and positional info */
struct FILE_INFO {
- char *fname; /* Path to the file */
+ const char *fname; /* Path to the file */
FILE *fd; /* File Descriptor */
int line_no; /* Line Number in the file being scanned */
int col_no; /* Column Number in the file being scanned */