Bug 1187197 (part 2) - Put function return types on their own line. r=froydnj.
authorNicholas Nethercote <nnethercote@mozilla.com>
Thu, 23 Jul 2015 23:13:10 -0700
changeset 254626 ca5ac85253ff10b6f21ee2120cf1fb9b1c8bea4d
parent 254625 bbf83ab7934dfc45b250f6944caa34a36a7aeaee
child 254627 f8a695c239981780c4e5e9d34cbd3c2121d66066
push id29108
push userryanvm@gmail.com
push dateMon, 27 Jul 2015 14:12:01 +0000
treeherdermozilla-central@27ae736ef960 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1187197
milestone42.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1187197 (part 2) - Put function return types on their own line. r=froydnj.
xpcom/glue/pldhash.h
--- a/xpcom/glue/pldhash.h
+++ b/xpcom/glue/pldhash.h
@@ -568,47 +568,53 @@ struct PLDHashTableOps
   /* Optional hooks start here.  If null, these are not called. */
   PLDHashInitEntry    initEntry;
 };
 
 /*
  * Default implementations for the above mOps.
  */
 
-PLDHashNumber PL_DHashStringKey(PLDHashTable* aTable, const void* aKey);
+PLDHashNumber
+PL_DHashStringKey(PLDHashTable* aTable, const void* aKey);
 
 /* A minimal entry is a subclass of PLDHashEntryHdr and has void key pointer. */
 struct PLDHashEntryStub : public PLDHashEntryHdr
 {
   const void* key;
 };
 
-PLDHashNumber PL_DHashVoidPtrKeyStub(PLDHashTable* aTable, const void* aKey);
+PLDHashNumber
+PL_DHashVoidPtrKeyStub(PLDHashTable* aTable, const void* aKey);
 
-bool PL_DHashMatchEntryStub(PLDHashTable* aTable,
-                            const PLDHashEntryHdr* aEntry,
-                            const void* aKey);
+bool
+PL_DHashMatchEntryStub(PLDHashTable* aTable,
+                       const PLDHashEntryHdr* aEntry,
+                       const void* aKey);
 
-bool PL_DHashMatchStringKey(PLDHashTable* aTable,
-                            const PLDHashEntryHdr* aEntry,
-                            const void* aKey);
+bool
+PL_DHashMatchStringKey(PLDHashTable* aTable,
+                       const PLDHashEntryHdr* aEntry,
+                       const void* aKey);
 
 void
 PL_DHashMoveEntryStub(PLDHashTable* aTable,
                       const PLDHashEntryHdr* aFrom,
                       PLDHashEntryHdr* aTo);
 
-void PL_DHashClearEntryStub(PLDHashTable* aTable, PLDHashEntryHdr* aEntry);
+void
+PL_DHashClearEntryStub(PLDHashTable* aTable, PLDHashEntryHdr* aEntry);
 
 /*
  * If you use PLDHashEntryStub or a subclass of it as your entry struct, and
  * if your entries move via memcpy and clear via memset(0), you can use these
  * stub operations.
  */
-const PLDHashTableOps* PL_DHashGetStubOps(void);
+const PLDHashTableOps*
+PL_DHashGetStubOps(void);
 
 // The following function are deprecated. Use the equivalent class methods
 // instead: PLDHashTable::Search() instead of PL_DHashTableSearch(), etc.
 
 PLDHashEntryHdr* PL_DHASH_FASTCALL
 PL_DHashTableSearch(PLDHashTable* aTable, const void* aKey);
 
 PLDHashEntryHdr* PL_DHASH_FASTCALL
@@ -616,25 +622,29 @@ PL_DHashTableAdd(PLDHashTable* aTable, c
                  const mozilla::fallible_t&);
 
 PLDHashEntryHdr* PL_DHASH_FASTCALL
 PL_DHashTableAdd(PLDHashTable* aTable, const void* aKey);
 
 void PL_DHASH_FASTCALL
 PL_DHashTableRemove(PLDHashTable* aTable, const void* aKey);
 
-void PL_DHashTableRawRemove(PLDHashTable* aTable, PLDHashEntryHdr* aEntry);
+void
+PL_DHashTableRawRemove(PLDHashTable* aTable, PLDHashEntryHdr* aEntry);
 
-size_t PL_DHashTableSizeOfExcludingThis(
+size_t
+PL_DHashTableSizeOfExcludingThis(
   const PLDHashTable* aTable,
   PLDHashSizeOfEntryExcludingThisFun aSizeOfEntryExcludingThis,
   mozilla::MallocSizeOf aMallocSizeOf, void* aArg = nullptr);
 
-size_t PL_DHashTableSizeOfIncludingThis(
+size_t
+PL_DHashTableSizeOfIncludingThis(
   const PLDHashTable* aTable,
   PLDHashSizeOfEntryExcludingThisFun aSizeOfEntryExcludingThis,
   mozilla::MallocSizeOf aMallocSizeOf, void* aArg = nullptr);
 
 #ifdef DEBUG
-void PL_DHashMarkTableImmutable(PLDHashTable* aTable);
+void
+PL_DHashMarkTableImmutable(PLDHashTable* aTable);
 #endif
 
 #endif /* pldhash_h___ */