Skip to content

Commit

Permalink
cosmetics on top of Dan's patches
Browse files Browse the repository at this point in the history
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
  • Loading branch information
Denys Vlasenko committed Jun 19, 2010
1 parent ebeac16 commit 134d0eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions archival/libunarchive/unxz/xz_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
#define memeq(a, b, size) (memcmp(a, b, size) == 0)
#define memzero(buf, size) memset(buf, 0, size)

#ifndef min
#undef min
#undef min_t
#define min(x, y) ((x) < (y) ? (x) : (y))
#endif
#define min_t(type, x, y) min(x, y)

/*
Expand Down
4 changes: 1 addition & 3 deletions networking/ipcalc.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/

#include "libbb.h"

#include <sys/socket.h>
/* After libbb.h, because on some systems it needs other includes */
#include <arpa/inet.h>

#define CLASS_A_NETMASK ntohl(0xFF000000)
Expand Down
1 change: 0 additions & 1 deletion scripts/trylink
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ SORT_SECTION=`check_cc "-Wl,--sort-section,alignment" ""`

START_GROUP="-Wl,--start-group"
END_GROUP="-Wl,--end-group"

INFO_OPTS="-Wl,--warn-common -Wl,-Map,$EXE.map -Wl,--verbose"

# gold may not support --sort-common (yet)
Expand Down

0 comments on commit 134d0eb

Please sign in to comment.