Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4888084

Browse files
committed
1 parent4f74f56 commit4888084

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/include/storage/proclist.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ proclist_init(proclist_head *list)
3535
* Is the list empty?
3636
*/
3737
staticinlinebool
38-
proclist_is_empty(proclist_head*list)
38+
proclist_is_empty(constproclist_head*list)
3939
{
4040
returnlist->head==INVALID_PGPROCNO;
4141
}
@@ -143,10 +143,10 @@ proclist_delete_offset(proclist_head *list, int procno, size_t node_offset)
143143
* so that the only possibilities are that it is in this list or none.
144144
*/
145145
staticinlinebool
146-
proclist_contains_offset(proclist_head*list,intprocno,
146+
proclist_contains_offset(constproclist_head*list,intprocno,
147147
size_tnode_offset)
148148
{
149-
proclist_node*node=proclist_node_get(procno,node_offset);
149+
constproclist_node*node=proclist_node_get(procno,node_offset);
150150

151151
/* If it's not in any list, it's definitely not in this one. */
152152
if (node->prev==0&&node->next==0)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp