mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-04 05:44:35 +00:00
[PR #874] [MERGED] feat: Moving queue file to it's directory and creating include file for it #1384
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
master← Head:master📝 Commits (2)
55ca1dePutting queue in correct dir and creating include file for it1d0cc92Update 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
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.