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

Version 5.04 #33

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open

Version 5.04 #33

wants to merge 18 commits into from

Conversation

beefcurtains
Copy link

Incorporates changes by Debian and Void Linux, such as build fixes and the sl-h variant.

yamamoto and others added 18 commits April 2, 2015 12:31
These changes are backported from Debian sl distribution package.

Reference: https://packages.debian.org/sid/sl
Signed-off-by: Sami Kerola <[email protected]>
These changes are backported from Debian sl distribution package.

Reference: https://packages.debian.org/sid/sl
Signed-off-by: Sami Kerola <[email protected]>
These changes are backported from Debian sl distribution package.

Reference: https://packages.debian.org/sid/sl
Signed-off-by: Sami Kerola <[email protected]>
sl-h.c:168:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
sl-h.c:525:25: warning: unused parameter 'c' [-Wunused-parameter]
sl-h.c:564:15: warning: variable 'dy' set but not used [-Wunused-but-set-variable]

Signed-off-by: Sami Kerola <[email protected]>
In same go remove strlen() call that is unnecessary, sprintf() return
value tells how many characters was printed.

Signed-off-by: Sami Kerola <[email protected]>
These probably were added to make compiler warnings silent, but that is
no longer needed.

Signed-off-by: Sami Kerola <[email protected]>
Writing functions in right order is good enough.

Signed-off-by: Sami Kerola <[email protected]>
sl-h.c:115:13: warning: 'end_proc' defined but not used [-Wunused-function]

Signed-off-by: Sami Kerola <[email protected]>
And remove unnecessary ones.

Signed-off-by: Sami Kerola <[email protected]>
All four variables caused same warning.

sl.c:60:5: warning: nested extern declaration of 'ACCIDENT' [-Wnested-externs]

Signed-off-by: Sami Kerola <[email protected]>
Merge sami branch into master
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