Skip to content

Commit a30199b

Browse files
committed
Fix a couple occurrences of 'the the' in the new atomics API.
Author: Erik Rijkers
1 parent d11339c commit a30199b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/include/port/atomics.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ pg_atomic_compare_exchange_u32(volatile pg_atomic_uint32 *ptr,
346346
/*
347347
* pg_atomic_fetch_add_u32 - atomically add to variable
348348
*
349-
* Returns the the value of ptr before the arithmetic operation.
349+
* Returns the value of ptr before the arithmetic operation.
350350
*
351351
* Full barrier semantics.
352352
*/
@@ -360,8 +360,8 @@ pg_atomic_fetch_add_u32(volatile pg_atomic_uint32 *ptr, int32 add_)
360360
/*
361361
* pg_atomic_fetch_sub_u32 - atomically subtract from variable
362362
*
363-
* Returns the the value of ptr before the arithmetic operation. Note that
364-
* sub_ may not be INT_MIN due to platform limitations.
363+
* Returns the value of ptr before the arithmetic operation. Note that sub_
364+
* may not be INT_MIN due to platform limitations.
365365
*
366366
* Full barrier semantics.
367367
*/
@@ -376,7 +376,7 @@ pg_atomic_fetch_sub_u32(volatile pg_atomic_uint32 *ptr, int32 sub_)
376376
/*
377377
* pg_atomic_fetch_and_u32 - atomically bit-and and_ with variable
378378
*
379-
* Returns the the value of ptr before the arithmetic operation.
379+
* Returns the value of ptr before the arithmetic operation.
380380
*
381381
* Full barrier semantics.
382382
*/
@@ -390,7 +390,7 @@ pg_atomic_fetch_and_u32(volatile pg_atomic_uint32 *ptr, uint32 and_)
390390
/*
391391
* pg_atomic_fetch_or_u32 - atomically bit-or or_ with variable
392392
*
393-
* Returns the the value of ptr before the arithmetic operation.
393+
* Returns the value of ptr before the arithmetic operation.
394394
*
395395
* Full barrier semantics.
396396
*/
@@ -404,7 +404,7 @@ pg_atomic_fetch_or_u32(volatile pg_atomic_uint32 *ptr, uint32 or_)
404404
/*
405405
* pg_atomic_add_fetch_u32 - atomically add to variable
406406
*
407-
* Returns the the value of ptr after the arithmetic operation.
407+
* Returns the value of ptr after the arithmetic operation.
408408
*
409409
* Full barrier semantics.
410410
*/
@@ -418,8 +418,8 @@ pg_atomic_add_fetch_u32(volatile pg_atomic_uint32 *ptr, int32 add_)
418418
/*
419419
* pg_atomic_sub_fetch_u32 - atomically subtract from variable
420420
*
421-
* Returns the the value of ptr after the arithmetic operation. Note that sub_
422-
* may not be INT_MIN due to platform limitations.
421+
* Returns the value of ptr after the arithmetic operation. Note that sub_ may
422+
* not be INT_MIN due to platform limitations.
423423
*
424424
* Full barrier semantics.
425425
*/

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy