Summary: | ASTERISK-06288: [patch] compile problem - missing prototype for snprintf | ||
Reporter: | Luigi Rizzo (rizzo) | Labels: | |
Date Opened: | 2006-02-11 07:57:58.000-0600 | Date Closed: | 2006-02-11 09:13:41.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Functions/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | no FreeBSD 6.x and 4.x func_env.c gives a compile warning because of a missing prototype for snprintf(). This must be a result of some recent modification to the file. According to the manpage, on this platform the snprintf prototype is in <stdio.h>, and various linux snprintf manpages seem to agree. Trivial fix is to add an #include <stdio.h> in the section where system includes are loaded. | ||
Comments: | By: Tilghman Lesher (tilghman) 2006-02-11 09:13:41.000-0600 Fixed in 9548 |