mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
cosmetics on top of Dan's patches
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
ebeac1685a
commit
134d0eb114
@ -32,9 +32,9 @@
|
|||||||
#define memeq(a, b, size) (memcmp(a, b, size) == 0)
|
#define memeq(a, b, size) (memcmp(a, b, size) == 0)
|
||||||
#define memzero(buf, size) memset(buf, 0, size)
|
#define memzero(buf, size) memset(buf, 0, size)
|
||||||
|
|
||||||
#ifndef min
|
#undef min
|
||||||
|
#undef min_t
|
||||||
#define min(x, y) ((x) < (y) ? (x) : (y))
|
#define min(x, y) ((x) < (y) ? (x) : (y))
|
||||||
#endif
|
|
||||||
#define min_t(type, x, y) min(x, y)
|
#define min_t(type, x, y) min(x, y)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -11,10 +11,8 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
|
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
|
/* After libbb.h, because on some systems it needs other includes */
|
||||||
#include <sys/socket.h>
|
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
|
||||||
#define CLASS_A_NETMASK ntohl(0xFF000000)
|
#define CLASS_A_NETMASK ntohl(0xFF000000)
|
||||||
|
@ -87,7 +87,6 @@ SORT_SECTION=`check_cc "-Wl,--sort-section,alignment" ""`
|
|||||||
|
|
||||||
START_GROUP="-Wl,--start-group"
|
START_GROUP="-Wl,--start-group"
|
||||||
END_GROUP="-Wl,--end-group"
|
END_GROUP="-Wl,--end-group"
|
||||||
|
|
||||||
INFO_OPTS="-Wl,--warn-common -Wl,-Map,$EXE.map -Wl,--verbose"
|
INFO_OPTS="-Wl,--warn-common -Wl,-Map,$EXE.map -Wl,--verbose"
|
||||||
|
|
||||||
# gold may not support --sort-common (yet)
|
# gold may not support --sort-common (yet)
|
||||||
|
Loading…
Reference in New Issue
Block a user