mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2024-12-28 14:48:18 +08:00
add 'static' where needed. minor packaging stuff.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@186 00440858-1255-0410-a3e6-75ea37f81c3a
This commit is contained in:
parent
5621b79adc
commit
6769a5ecd2
@ -1,5 +1,5 @@
|
|||||||
#! /bin/sh -e
|
#! /bin/sh -e
|
||||||
libtoolize
|
libtoolize
|
||||||
aclocal
|
aclocal$automake_version
|
||||||
autoconf
|
autoconf
|
||||||
automake -a --foreign
|
automake$automake_version -a --foreign
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
AC_INIT(src/google/protobuf-c/protobuf-c.h)
|
AC_INIT([protobuf-c], [0.10])
|
||||||
PROTOBUF_C_VERSION=0.10
|
AM_INIT_AUTOMAKE([1.9 foreign])
|
||||||
|
|
||||||
AM_INIT_AUTOMAKE(protobuf-c, $PROTOBUF_C_VERSION)
|
|
||||||
PACKAGE=protobuf-c
|
PACKAGE=protobuf-c
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_PROG_CXX
|
AC_PROG_CXX
|
||||||
|
@ -32,7 +32,9 @@ google/protobuf-c/protobuf-c.c
|
|||||||
# but suffice it to say this is needed
|
# but suffice it to say this is needed
|
||||||
# on a few garbage platforms (AIX, windows),
|
# on a few garbage platforms (AIX, windows),
|
||||||
# and it compiles to a no-op on sensible platforms (elf)
|
# and it compiles to a no-op on sensible platforms (elf)
|
||||||
libprotobuf_c_la_LDFLAGS = -no-undefined
|
libprotobuf_c_la_LDFLAGS = \
|
||||||
|
-no-undefined \
|
||||||
|
-version-info 0:0:0
|
||||||
|
|
||||||
noinst_HEADERS = \
|
noinst_HEADERS = \
|
||||||
google/protobuf/compiler/c/c_message_field.h \
|
google/protobuf/compiler/c/c_message_field.h \
|
||||||
|
@ -404,8 +404,7 @@ begin_name_lookup (ProtobufC_RPC_Client *client)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
void
|
|
||||||
handle_init_idle (ProtobufCDispatch *dispatch,
|
handle_init_idle (ProtobufCDispatch *dispatch,
|
||||||
void *data)
|
void *data)
|
||||||
{
|
{
|
||||||
@ -1215,7 +1214,7 @@ server_new_from_fd (ProtobufC_FD listening_fd,
|
|||||||
XXX: we should survey what others do here... like x-windows...
|
XXX: we should survey what others do here... like x-windows...
|
||||||
*/
|
*/
|
||||||
/* NOTE: stolen from gsk, obviously */
|
/* NOTE: stolen from gsk, obviously */
|
||||||
void
|
static void
|
||||||
_gsk_socket_address_local_maybe_delete_stale_socket (const char *path,
|
_gsk_socket_address_local_maybe_delete_stale_socket (const char *path,
|
||||||
struct sockaddr *addr,
|
struct sockaddr *addr,
|
||||||
unsigned addr_len)
|
unsigned addr_len)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user