[Home]

Summary:ASTERISK-01731: elmiinate compile time warning about mkdir() on FreeBDS`
Reporter:rich (rich)Labels:
Date Opened:2004-05-31 12:29:14Date Closed:2008-01-15 14:56:56.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) app_sms.dif
( 1) dif
Description:This patch eliminates the warning:

app_sms.c:520: warning: implicit declaration of function `mkdir'

Comments:By: Mark Spencer (markster) 2004-05-31 12:31:24

Can you explain how patching utils.c to include strings.h somehow makes app_sms compile without warning?

By: rich (rich) 2004-05-31 12:33:24

Correction.. 'dif' is a patch for missing declarations in util.c.

ap_sms.dif is the patch for app_sms.c

By: Mark Spencer (markster) 2004-05-31 12:35:18

So where's ap_sms.diff?

By: rich (rich) 2004-05-31 12:43:01

Sorry, I didn't realize one needs to upload a file as a separate action from adding a bugnote.  Rich

By: Mark Spencer (markster) 2004-05-31 12:45:47

Fixed in CVS

By: Digium Subversion (svnbot) 2008-01-15 14:56:56.000-0600

Repository: asterisk
Revision: 3120

U   trunk/apps/app_sms.c

------------------------------------------------------------------------
r3120 | markster | 2008-01-15 14:56:56 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix compile warning on FreeBSD (bug ASTERISK-1731)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=3120