]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
ntp_parser.y:
authorDave Hart <hart@ntp.org>
Thu, 23 Apr 2009 08:08:30 +0000 (08:08 +0000)
committerDave Hart <hart@ntp.org>
Thu, 23 Apr 2009 08:08:30 +0000 (08:08 +0000)
  quiet malloc redeclaration warning compiling ntp_parser.c

bk: 49f021feL2c2OkJqnZ5egKJUVmqPtw

ntpd/ntp_parser.y

index f8e3543ff0708ef244e7fad27549e4a64cd771d1..ebbb977725a43197668858ba8b6fb7766ccf13c6 100644 (file)
@@ -40,6 +40,8 @@
 
   struct FILE_INFO *ip_file;   /* Pointer to the configuration file stream */
 
+  #define YYMALLOC     emalloc
+  #define YYFREE       free
   #define YYERROR_VERBOSE
   void yyerror (char *msg);
   extern int input_from_file;  /* 0=input from ntpq>config command buffer */