mirror of
https://github.moeyy.xyz/https://github.com/TheAlgorithms/C.git
synced 2023-10-11 15:56:24 +08:00
style: add missing const
This commit is contained in:
parent
9d291a0e82
commit
221a0578a4
@ -41,7 +41,7 @@ struct Graph *createGraph(int V, int E)
|
||||
*
|
||||
* @param ptr Pointer to the graph structure to be deallocated.
|
||||
*/
|
||||
void deleteGraph(struct Graph *graph)
|
||||
void deleteGraph(struct Graph *const graph)
|
||||
{
|
||||
if (graph == NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user