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

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

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/874
Author: @Lorenzobattistela
Created: 10/8/2021
Status: Merged
Merged: 10/15/2021
Merged by: @Panquesito7

Base: masterHead: master


📝 Commits (2)

  • 55ca1de Putting queue in correct dir and creating include file for it
  • 1d0cc92 Update data_structures/queue/include.h

📊 Changes

2 files changed (+29 additions, -26 deletions)

View changed files

data_structures/queue/include.h (+28 -0)
📝 data_structures/queue/queue.c (+1 -26)

📄 Description

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.


🔄 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/874 **Author:** [@Lorenzobattistela](https://github.com/Lorenzobattistela) **Created:** 10/8/2021 **Status:** ✅ Merged **Merged:** 10/15/2021 **Merged by:** [@Panquesito7](https://github.com/Panquesito7) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`55ca1de`](https://github.com/TheAlgorithms/C/commit/55ca1de160c6552e8e2c29ab7df27080fc9ffb67) Putting queue in correct dir and creating include file for it - [`1d0cc92`](https://github.com/TheAlgorithms/C/commit/1d0cc92e30f52a6ff6f218c07f7ed9596469bf93) Update data_structures/queue/include.h ### 📊 Changes **2 files changed** (+29 additions, -26 deletions) <details> <summary>View changed files</summary> ➕ `data_structures/queue/include.h` (+28 -0) 📝 `data_structures/queue/queue.c` (+1 -26) </details> ### 📄 Description #### 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> --- <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:19:59 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1384