You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to minix-dev
Hello everyone,
I was lurking through Minix code and noticed that different parts of code are written in different styles.
We should adopt some code style for Minix. I may suggest already existing style, such as GNU or Linux style.
Best regards,
Peter
stux...@gmail.com
unread,
Apr 6, 2021, 9:38:41 AM4/6/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to minix-dev
Hi Peter,
Please be aware that the Minix wishlist currently has "
Change all K&R-style function declarations to ANSI-style declarations
" as a TODO item (I suspect you've seen this already). If you're looking for a more "general" coding standard then I'd suggest following NetBSD's coding standards as opposed to Linux since that's where most of the user space code is sourced from anyway. It may be that they are one and the same anyway. So far a quick search only revealed this link:
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to minix-dev
Okay, cool. I'm not sure what you're exactly referring to by clang-format file but I look forward to examining it. -stux
Peter Shkenev
unread,
Apr 7, 2021, 12:24:53 PM4/7/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to minix-dev
Hello Stux,
Clang-format (part of Clang package) is a tool used for formatting the code. It can use file which describes the style. See here: https://clang.llvm.org/docs/ClangFormat.html .