5b73f85427
This change is the result of a large sweep triggered by the new Tcl which has const'ified many interfaces -- this follows suit with many corresponding changes internally in scotty => lots of new patches. Also, change so as to not access interp->errorLine and interp->result directly, use the accessor functions instead, and turn off the corresponding compatibility defines. The old patch files have been renamed and expanded, the new scheme for naming patch files is used. Only minimal functionality testing is done, but what has been done shows that it basically works again. PKGREVISION bumped.
17 lines
453 B
C
17 lines
453 B
C
$NetBSD: patch-tnm_snmp_tnmMibParser.c,v 1.1 2014/03/05 13:52:29 he Exp $
|
|
|
|
Constify.
|
|
|
|
--- tnm/snmp/tnmMibParser.c.orig 1998-10-20 15:51:08.000000000 +0000
|
|
+++ tnm/snmp/tnmMibParser.c
|
|
@@ -336,8 +336,8 @@ AddNewNode (nodeList, label, parentName,
|
|
|
|
Tnm_MibNode*
|
|
Tnm_MibParse(file, frozen, root)
|
|
- char *file;
|
|
- char *frozen;
|
|
+ const char *file;
|
|
+ const char *frozen;
|
|
Tnm_MibNode *root;
|
|
{
|
|
FILE *fp; /* The current FILE pointer. */
|