[PR #874] feat: Moving queue file to it's directory and creating include file for it #1389

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

Original Pull Request: https://github.com/TheAlgorithms/C/pull/874

State: closed
Merged: Yes


Description of Change

The file "queue.c" was not in the correct dir, since it didn't existed, so I created queue directory and moved the file into it. I also created a "include.h" file where I put the functions declarations, struct definitions and header files for better organization. Also deleted isEmpty declaration which wasn't being used (the function wasn't even coded).

References

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Relevant documentation/comments is changed or added
  • 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:
Created a includeh file for the queue code, created queue file and moved both files to it.

**Original Pull Request:** https://github.com/TheAlgorithms/C/pull/874 **State:** closed **Merged:** Yes --- #### Description of Change The file "queue.c" was not in the correct dir, since it didn't existed, so I created queue directory and moved the file into it. I also created a "include.h" file where I put the functions declarations, struct definitions and header files for better organization. Also deleted isEmpty declaration which wasn't being used (the function wasn't even coded). <!-- 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 - [x] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [x] Relevant documentation/comments is changed or added - [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 --> Created a includeh file for the queue code, created queue file and moved both files to it. <a href="https://gitpod.io/#https://github.com/TheAlgorithms/C/pull/874"><img src="https://gitpod.io/button/open-in-gitpod.svg"/></a>
claunia added the pull-request label 2026-01-29 15:20:02 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1389