style: add missing const

This commit is contained in:
vil02 2023-09-14 20:05:02 +02:00 committed by Piotr Idzik
parent 9d291a0e82
commit 221a0578a4

View File

@ -41,7 +41,7 @@ struct Graph *createGraph(int V, int E)
* *
* @param ptr Pointer to the graph structure to be deallocated. * @param ptr Pointer to the graph structure to be deallocated.
*/ */
void deleteGraph(struct Graph *graph) void deleteGraph(struct Graph *const graph)
{ {
if (graph == NULL) if (graph == NULL)
{ {