From: SourceForge.net <no...@so...> - 2004-04-20 22:13:39
|
Patches item #922519, was opened at 2004-03-24 11:01 Message generated for change (Comment added) made by slif You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312694&aid=922519&group_id=12694 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Robert Wilcox (rewilcox) Assigned to: Nobody/Anonymous (nobody) Summary: incorrect definition ot initialise_table in util_funcs.s Initial Comment: File: /net-snmp/agent/mibgroup/util_funcs.h appears to have an incorrect definiton for the function: mib_table_t Initialise_Table(int, int, RELOAD , COMPARE ); where RELOAD and COMPARE are defined as function data types: typedef int (RELOAD) (mib_table_t); typedef int (COMPARE) (const void *, const void *); I believe this should be a function pointer data type. Thus initialise_table should look like: mib_table_t Initialise_Table(int, int, RELOAD *, COMPARE *); I have included a patch that updates the function in the header and source file. ---------------------------------------------------------------------- >Comment By: Michael J. Slifcak (slif) Date: 2004-04-20 18:13 Message: Logged In: YES user_id=88697 No patch was included with this bug report. To Include an attachment, "check to upload..." must be checked, and the full pathname to the file to attach must appear after browse is completed. The last step: Select the "Submit Changes" button, which will read the file from your system and save it in the repository. Regards, -Mike Slifcak ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312694&aid=922519&group_id=12694 |