[PR #766] [CLOSED] fix: Fixed error relating importing of Header file <stdlib.h> at data_structures/linked_list/singly_link_list_deletion.c #1278

Open
opened 2026-01-29 15:18:52 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/766
Author: @Suraj-Patro
Created: 10/30/2020
Status: Closed

Base: masterHead: patch-27


📝 Commits (1)

  • 23d832d Update singly_link_list_deletion.c

📊 Changes

1 file changed (+11 additions, -8 deletions)

View changed files

📝 data_structures/linked_list/singly_link_list_deletion.c (+11 -8)

📄 Description

Description of Change

Bug fixed by adding stdlib.h at singly_link_list_deletion.c
Needed for dynamic memory allocation

Improved source code formatting

References

Checklist

  • Added description of change
  • Added tests and example, test must pass
  • Relevant documentation/comments is changed or added
  • Added file name matches File name guidelines
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes:


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/TheAlgorithms/C/pull/766 **Author:** [@Suraj-Patro](https://github.com/Suraj-Patro) **Created:** 10/30/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-27` --- ### 📝 Commits (1) - [`23d832d`](https://github.com/TheAlgorithms/C/commit/23d832de5234e9b2c88986a5fc8ca1683841bf51) Update singly_link_list_deletion.c ### 📊 Changes **1 file changed** (+11 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `data_structures/linked_list/singly_link_list_deletion.c` (+11 -8) </details> ### 📄 Description #### Description of Change Bug fixed by adding stdlib.h at singly_link_list_deletion.c Needed for dynamic memory allocation Improved source code formatting <!-- Thank you for your Pull Request. Please provide a description above and review the requirements below. Contributors guide: https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md --> #### References <!-- Add any reference to previous pull-request or issue --> #### Checklist <!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> - [x] Added description of change - [ ] Added tests and example, test must pass - [ ] Relevant documentation/comments is changed or added - [ ] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [x] PR title follows semantic [commit guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#Commit-Guidelines) - [x] Search previous suggestions before making a new one, as yours may be a duplicate. - [x] I acknowledge that all my contributions will be made under the project's license. Notes: <!-- Please add a one-line description for developers or pull request viewers --> <a href="https://gitpod.io/#https://github.com/TheAlgorithms/C/pull/766"><img src="https://gitpod.io/api/apps/github/pbs/github.com/Suraj-Patro/C.git/23d832de5234e9b2c88986a5fc8ca1683841bf51.svg" /></a> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:18:52 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1278