Skip to content

Conversation

@kerolasa
Copy link

@kerolasa kerolasa commented Apr 2, 2015

The three first changes are from Debian sl package, so assuming this pull request is merged the upstream then Debian no longer need to maintain downstream patches.

yamamoto and others added 13 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 <kerolasa@iki.fi>
These changes are backported from Debian sl distribution package.

Reference: https://packages.debian.org/sid/sl
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
These changes are backported from Debian sl distribution package.

Reference: https://packages.debian.org/sid/sl
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
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 <kerolasa@iki.fi>
In same go remove strlen() call that is unnecessary, sprintf() return
value tells how many characters was printed.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
These probably were added to make compiler warnings silent, but that is
no longer needed.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Writing functions in right order is good enough.

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

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
And remove unnecessary ones.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
All four variables caused same warning.

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

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
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.

2 participants