From d421ad2fe2a6dd2c326f6c50120fb84b7afdbae4 Mon Sep 17 00:00:00 2001 From: "wtc%google.com" Date: Tue, 23 Oct 2012 23:35:58 +0000 Subject: [PATCH] Bug 804833: Allow PR_FormatTime and PR_FormatTimeUSEnglish with NO_NSPR_10_SUPPORT. The patch is contributed by Isaac Aggrey . r=wtc. git-svn-id: svn://10.0.0.236/trunk@264375 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/nsprpub/pr/include/prtime.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/mozilla/nsprpub/pr/include/prtime.h b/mozilla/nsprpub/pr/include/prtime.h index fb5be8e2e74..732990edb8f 100644 --- a/mozilla/nsprpub/pr/include/prtime.h +++ b/mozilla/nsprpub/pr/include/prtime.h @@ -246,17 +246,6 @@ NSPR_API(PRStatus) PR_ParseTimeString ( PRBool default_to_gmt, PRTime *result); -/* - * FIXME: should we also have a formatting function, such as asctime, ctime, - * and strftime in standard C library? But this would involve - * internationalization issues. Might want to provide a US English version. - */ - -/**********************************************************************/ -/*********************** OLD COMPATIBILITYFUNCTIONS *******************/ -/**********************************************************************/ -#ifndef NO_NSPR_10_SUPPORT - /* Format a time value into a buffer. Same semantics as strftime() */ NSPR_API(PRUint32) PR_FormatTime(char *buf, int buflen, const char *fmt, const PRExplodedTime *tm); @@ -268,8 +257,6 @@ NSPR_API(PRUint32) PR_FormatTimeUSEnglish( char* buf, PRUint32 bufSize, const char* format, const PRExplodedTime* tm ); -#endif /* NO_NSPR_10_SUPPORT */ - PR_END_EXTERN_C #endif /* prtime_h___ */