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:
lahiker42 2009-05-13 15:21:05 +00:00
parent 5621b79adc
commit 6769a5ecd2
4 changed files with 9 additions and 10 deletions

View File

@ -1,5 +1,5 @@
#! /bin/sh -e
libtoolize
aclocal
aclocal$automake_version
autoconf
automake -a --foreign
automake$automake_version -a --foreign

View File

@ -1,7 +1,5 @@
AC_INIT(src/google/protobuf-c/protobuf-c.h)
PROTOBUF_C_VERSION=0.10
AM_INIT_AUTOMAKE(protobuf-c, $PROTOBUF_C_VERSION)
AC_INIT([protobuf-c], [0.10])
AM_INIT_AUTOMAKE([1.9 foreign])
PACKAGE=protobuf-c
AC_PROG_CC
AC_PROG_CXX

View File

@ -32,7 +32,9 @@ google/protobuf-c/protobuf-c.c
# but suffice it to say this is needed
# on a few garbage platforms (AIX, windows),
# 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 = \
google/protobuf/compiler/c/c_message_field.h \

View File

@ -404,8 +404,7 @@ begin_name_lookup (ProtobufC_RPC_Client *client)
}
}
void
static void
handle_init_idle (ProtobufCDispatch *dispatch,
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...
*/
/* NOTE: stolen from gsk, obviously */
void
static void
_gsk_socket_address_local_maybe_delete_stale_socket (const char *path,
struct sockaddr *addr,
unsigned addr_len)