Fixed the Unix builds. DON'T USE C++ COMMENTS IN C FILES.

git-svn-id: svn://10.0.0.236/trunk@33629 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
briano%netscape.com
1999-06-03 22:30:39 +00:00
parent 0dc8ade3f8
commit 047aef7665
2 changed files with 10 additions and 10 deletions

View File

@@ -526,7 +526,7 @@ PR_IMPLEMENT(void) PREF_Cleanup()
if (gFileName)
PL_strfree(gFileName);
gFileName = NULL;
#endif // PREF_SUPPORT_OLD_PATH_STRINGS
#endif
}
PR_IMPLEMENT(PrefResult)
@@ -1028,8 +1028,8 @@ This is called by them and does the right thing.
#ifdef PREF_SUPPORT_OLD_PATH_STRINGS
#define PREF_FILE_BANNER "// Netscape User Preferences" LINEBREAK \
"// This is a generated file! Do not edit." LINEBREAK LINEBREAK
#define PREF_FILE_BANNER "/* Netscape User Preferences */" LINEBREAK \
"/* This is a generated file! Do not edit. */" LINEBREAK LINEBREAK
PR_IMPLEMENT(PrefResult)
PREF_SavePrefFileWith(const char *filename, PLHashEnumerator heSaveProc)
@@ -1957,9 +1957,9 @@ JSBool PR_CALLBACK pref_NativeSetConfig
JSBool PR_CALLBACK pref_NativeGetPref
(JSContext *cx, JSObject *obj, unsigned int argc, jsval *argv, jsval *rval)
{
//void* value = NULL;
/*void* value = NULL;*/
PrefNode* pref;
//PRBool prefExists = PR_TRUE;
/*PRBool prefExists = PR_TRUE;*/
if (argc >= 1 && JSVAL_IS_STRING(argv[0]))
{

View File

@@ -526,7 +526,7 @@ PR_IMPLEMENT(void) PREF_Cleanup()
if (gFileName)
PL_strfree(gFileName);
gFileName = NULL;
#endif // PREF_SUPPORT_OLD_PATH_STRINGS
#endif
}
PR_IMPLEMENT(PrefResult)
@@ -1028,8 +1028,8 @@ This is called by them and does the right thing.
#ifdef PREF_SUPPORT_OLD_PATH_STRINGS
#define PREF_FILE_BANNER "// Netscape User Preferences" LINEBREAK \
"// This is a generated file! Do not edit." LINEBREAK LINEBREAK
#define PREF_FILE_BANNER "/* Netscape User Preferences */" LINEBREAK \
"/* This is a generated file! Do not edit. */" LINEBREAK LINEBREAK
PR_IMPLEMENT(PrefResult)
PREF_SavePrefFileWith(const char *filename, PLHashEnumerator heSaveProc)
@@ -1957,9 +1957,9 @@ JSBool PR_CALLBACK pref_NativeSetConfig
JSBool PR_CALLBACK pref_NativeGetPref
(JSContext *cx, JSObject *obj, unsigned int argc, jsval *argv, jsval *rval)
{
//void* value = NULL;
/*void* value = NULL;*/
PrefNode* pref;
//PRBool prefExists = PR_TRUE;
/*PRBool prefExists = PR_TRUE;*/
if (argc >= 1 && JSVAL_IS_STRING(argv[0]))
{