Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix errors raised by missing-prototypes #45

Closed
wants to merge 3 commits into from

Conversation

HotMercury
Copy link
Collaborator

In the current attempt to run simplefs on the Linux kernel v6.8 environment, encountering the error "no previous prototype for simplefs_mount" indicates a need for additional function declarations.

error: no previous prototype for ‘simplefs_mount’
error: no previous prototype for ‘simplefs_kill_sb’ 

The reason why it worked in previous versions is that the changes related to -Wmissing-declarations and -Wmissing-prototypes were introduced in 6.8-rc1 in commit 0fcb708 .

@jserv jserv changed the title Fix "no previous prototype error" Fix errors raised by missing-prototypes May 3, 2024
Copy link
Collaborator

@jserv jserv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refine the Git commit message to consolidate recent considerations in Linux and summarize their impact on function prototypes.

baekrang256 and others added 3 commits May 3, 2024 16:27
Fix compile time errors "no previous prototype for simplefs_mount"
and "no previous prototype for simplefs_kill_sb"
@HotMercury
Copy link
Collaborator Author

Sorry for that I accidentally modified someone else's commit, so I want to close this PR and open new one.

@HotMercury HotMercury closed this May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants