Skip to content

Commit

Permalink
Add missing new-lines at end of file
Browse files Browse the repository at this point in the history
  • Loading branch information
ctiller committed Feb 18, 2015
1 parent 0605995 commit 190d360
Show file tree
Hide file tree
Showing 631 changed files with 1,252 additions and 1,252 deletions.
2 changes: 1 addition & 1 deletion examples/pubsub/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,4 @@ int main(int argc, char** argv) {
channel.reset();
grpc_shutdown();
return 0;
}
}
2 changes: 1 addition & 1 deletion examples/pubsub/publisher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ Status Publisher::Publish(const grpc::string& topic, const grpc::string& data) {

} // namespace pubsub
} // namespace examples
} // namespace grpc
} // namespace grpc
2 changes: 1 addition & 1 deletion examples/pubsub/publisher.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ class Publisher {
} // namespace examples
} // namespace grpc

#endif // __GRPCPP_EXAMPLES_PUBSUB_PUBLISHER_H_
#endif // __GRPCPP_EXAMPLES_PUBSUB_PUBLISHER_H_
2 changes: 1 addition & 1 deletion examples/pubsub/publisher_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,4 @@ int main(int argc, char** argv) {
int result = RUN_ALL_TESTS();
grpc_shutdown();
return result;
}
}
2 changes: 1 addition & 1 deletion examples/pubsub/subscriber.cc
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,4 @@ Status Subscriber::Pull(const grpc::string& name, grpc::string* data) {

} // namespace pubsub
} // namespace examples
} // namespace grpc
} // namespace grpc
2 changes: 1 addition & 1 deletion examples/pubsub/subscriber.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ class Subscriber {
} // namespace examples
} // namespace grpc

#endif // __GRPCPP_EXAMPLES_PUBSUB_SUBSCRIBER_H_
#endif // __GRPCPP_EXAMPLES_PUBSUB_SUBSCRIBER_H_
2 changes: 1 addition & 1 deletion examples/pubsub/subscriber_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,4 @@ int main(int argc, char** argv) {
int result = RUN_ALL_TESTS();
grpc_shutdown();
return result;
}
}
2 changes: 1 addition & 1 deletion include/grpc++/channel_arguments.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ class ChannelArguments {

} // namespace grpc

#endif // __GRPCPP_CHANNEL_ARGUMENTS_H_
#endif // __GRPCPP_CHANNEL_ARGUMENTS_H_
2 changes: 1 addition & 1 deletion include/grpc++/channel_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ class ChannelInterface : public CallHook {

} // namespace grpc

#endif // __GRPCPP_CHANNEL_INTERFACE_H__
#endif // __GRPCPP_CHANNEL_INTERFACE_H__
2 changes: 1 addition & 1 deletion include/grpc++/client_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,4 @@ class ClientContext {

} // namespace grpc

#endif // __GRPCPP_CLIENT_CONTEXT_H__
#endif // __GRPCPP_CLIENT_CONTEXT_H__
2 changes: 1 addition & 1 deletion include/grpc++/completion_queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,4 @@ class CompletionQueue {

} // namespace grpc

#endif // __GRPCPP_COMPLETION_QUEUE_H__
#endif // __GRPCPP_COMPLETION_QUEUE_H__
2 changes: 1 addition & 1 deletion include/grpc++/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ typedef std::string string;

} // namespace grpc

#endif // __GRPCPP_CONFIG_H__
#endif // __GRPCPP_CONFIG_H__
2 changes: 1 addition & 1 deletion include/grpc++/create_channel.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ std::shared_ptr<ChannelInterface> CreateChannel(

} // namespace grpc

#endif // __GRPCPP_CREATE_CHANNEL_H__
#endif // __GRPCPP_CREATE_CHANNEL_H__
2 changes: 1 addition & 1 deletion include/grpc++/credentials.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,4 @@ class CredentialsFactory {

} // namespace grpc

#endif // __GRPCPP_CREDENTIALS_H_
#endif // __GRPCPP_CREDENTIALS_H_
2 changes: 1 addition & 1 deletion include/grpc++/impl/call.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,4 @@ class Call final {

} // namespace grpc

#endif // __GRPCPP_CALL_INTERFACE_H__
#endif // __GRPCPP_CALL_INTERFACE_H__
2 changes: 1 addition & 1 deletion include/grpc++/impl/client_unary_call.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ Status BlockingUnaryCall(ChannelInterface *channel, const RpcMethod &method,

} // namespace grpc

#endif
#endif
2 changes: 1 addition & 1 deletion include/grpc++/impl/internal_stub.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ class InternalStub {

} // namespace grpc

#endif // __GRPCPP_IMPL_INTERNAL_STUB_H__
#endif // __GRPCPP_IMPL_INTERNAL_STUB_H__
2 changes: 1 addition & 1 deletion include/grpc++/impl/rpc_method.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ class RpcMethod {

} // namespace grpc

#endif // __GRPCPP_IMPL_RPC_METHOD_H__
#endif // __GRPCPP_IMPL_RPC_METHOD_H__
2 changes: 1 addition & 1 deletion include/grpc++/impl/rpc_service_method.h
Original file line number Diff line number Diff line change
Expand Up @@ -203,4 +203,4 @@ class RpcService {

} // namespace grpc

#endif // __GRPCPP_IMPL_RPC_SERVICE_METHOD_H__
#endif // __GRPCPP_IMPL_RPC_SERVICE_METHOD_H__
2 changes: 1 addition & 1 deletion include/grpc++/impl/service_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,4 @@ class AsynchronousService {

} // namespace grpc

#endif // __GRPCPP_IMPL_SERVICE_TYPE_H__
#endif // __GRPCPP_IMPL_SERVICE_TYPE_H__
2 changes: 1 addition & 1 deletion include/grpc++/server.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,4 @@ class Server final : private CallHook,

} // namespace grpc

#endif // __GRPCPP_SERVER_H__
#endif // __GRPCPP_SERVER_H__
2 changes: 1 addition & 1 deletion include/grpc++/server_builder.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ class ServerBuilder {

} // namespace grpc

#endif // __GRPCPP_SERVER_BUILDER_H__
#endif // __GRPCPP_SERVER_BUILDER_H__
2 changes: 1 addition & 1 deletion include/grpc++/server_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@ class ServerContext final {

} // namespace grpc

#endif // __GRPCPP_SERVER_CONTEXT_H_
#endif // __GRPCPP_SERVER_CONTEXT_H_
2 changes: 1 addition & 1 deletion include/grpc++/server_credentials.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ class ServerCredentialsFactory {

} // namespace grpc

#endif // __GRPCPP_SERVER_CREDENTIALS_H_
#endif // __GRPCPP_SERVER_CREDENTIALS_H_
2 changes: 1 addition & 1 deletion include/grpc++/status.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ class Status {

} // namespace grpc

#endif // __GRPCPP_STATUS_H__
#endif // __GRPCPP_STATUS_H__
2 changes: 1 addition & 1 deletion include/grpc++/status_code_enum.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,4 +195,4 @@ enum StatusCode {

} // namespace grpc

#endif // __GRPCPP_STATUS_CODE_ENUM_H_
#endif // __GRPCPP_STATUS_CODE_ENUM_H_
2 changes: 1 addition & 1 deletion include/grpc++/stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -772,4 +772,4 @@ class ServerAsyncReaderWriter : public ServerAsyncStreamingInterface,

} // namespace grpc

#endif // __GRPCPP_STREAM_H__
#endif // __GRPCPP_STREAM_H__
2 changes: 1 addition & 1 deletion include/grpc++/thread_pool_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ class ThreadPoolInterface {

} // namespace grpc

#endif // __GRPCPP_THREAD_POOL_INTERFACE_H__
#endif // __GRPCPP_THREAD_POOL_INTERFACE_H__
2 changes: 1 addition & 1 deletion include/grpc/byte_buffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ struct grpc_byte_buffer {
} data;
};

#endif /* __GRPC_BYTE_BUFFER_H__ */
#endif /* __GRPC_BYTE_BUFFER_H__ */
2 changes: 1 addition & 1 deletion include/grpc/byte_buffer_reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ struct grpc_byte_buffer_reader {
} current;
};

#endif /* __GRPC_BYTE_BUFFER_READER_H__ */
#endif /* __GRPC_BYTE_BUFFER_READER_H__ */
2 changes: 1 addition & 1 deletion include/grpc/grpc.h
Original file line number Diff line number Diff line change
Expand Up @@ -619,4 +619,4 @@ void grpc_server_destroy(grpc_server *server);
}
#endif

#endif /* __GRPC_GRPC_H__ */
#endif /* __GRPC_GRPC_H__ */
2 changes: 1 addition & 1 deletion include/grpc/grpc_http.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ typedef struct {
}
#endif

#endif /* __GRPC_GRPC_HTTP_H__ */
#endif /* __GRPC_GRPC_HTTP_H__ */
2 changes: 1 addition & 1 deletion include/grpc/grpc_security.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,4 @@ int grpc_server_add_secure_http2_port(grpc_server *server, const char *addr);
}
#endif

#endif /* GRPC_SECURITY_H_ */
#endif /* GRPC_SECURITY_H_ */
2 changes: 1 addition & 1 deletion include/grpc/status.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,4 +199,4 @@ typedef enum {
}
#endif

#endif /* __GRPC_STATUS_H__ */
#endif /* __GRPC_STATUS_H__ */
2 changes: 1 addition & 1 deletion include/grpc/support/alloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ void gpr_free_aligned(void *ptr);
}
#endif

#endif /* __GRPC_SUPPORT_ALLOC_H__ */
#endif /* __GRPC_SUPPORT_ALLOC_H__ */
2 changes: 1 addition & 1 deletion include/grpc/support/atm.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@
#error could not determine platform for atm
#endif

#endif /* __GRPC_SUPPORT_ATM_H__ */
#endif /* __GRPC_SUPPORT_ATM_H__ */
2 changes: 1 addition & 1 deletion include/grpc/support/atm_gcc_atomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ static __inline int gpr_atm_rel_cas(gpr_atm *p, gpr_atm o, gpr_atm n) {
__ATOMIC_RELAXED);
}

#endif /* __GRPC_SUPPORT_ATM_GCC_ATOMIC_H__ */
#endif /* __GRPC_SUPPORT_ATM_GCC_ATOMIC_H__ */
2 changes: 1 addition & 1 deletion include/grpc/support/atm_gcc_sync.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ static __inline void gpr_atm_rel_store(gpr_atm *p, gpr_atm value) {
#define gpr_atm_acq_cas(p, o, n) (__sync_bool_compare_and_swap((p), (o), (n)))
#define gpr_atm_rel_cas(p, o, n) gpr_atm_acq_cas((p), (o), (n))

#endif /* __GRPC_SUPPORT_ATM_GCC_SYNC_H__ */
#endif /* __GRPC_SUPPORT_ATM_GCC_SYNC_H__ */
2 changes: 1 addition & 1 deletion include/grpc/support/atm_win32.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ static __inline gpr_atm gpr_atm_full_fetch_add(gpr_atm *p, gpr_atm delta) {
return old;
}

#endif /* __GRPC_SUPPORT_ATM_WIN32_H__ */
#endif /* __GRPC_SUPPORT_ATM_WIN32_H__ */
2 changes: 1 addition & 1 deletion include/grpc/support/cancellable_platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ typedef struct {
struct gpr_cancellable_list_ waiters;
} gpr_cancellable;

#endif /* __GRPC_SUPPORT_CANCELLABLE_PLATFORM_H__ */
#endif /* __GRPC_SUPPORT_CANCELLABLE_PLATFORM_H__ */
2 changes: 1 addition & 1 deletion include/grpc/support/cmdline.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ void gpr_cmdline_destroy(gpr_cmdline *cl);
}
#endif

#endif /* __GRPC_SUPPORT_CMDLINE_H__ */
#endif /* __GRPC_SUPPORT_CMDLINE_H__ */
2 changes: 1 addition & 1 deletion include/grpc/support/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ unsigned gpr_cpu_current_cpu(void);
} // extern "C"
#endif

#endif /* __GRPC_INTERNAL_SUPPORT_CPU_H__ */
#endif /* __GRPC_INTERNAL_SUPPORT_CPU_H__ */
2 changes: 1 addition & 1 deletion include/grpc/support/histogram.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ double gpr_histogram_sum_of_squares(gpr_histogram *histogram);
}
#endif

#endif /* __GRPC_SUPPORT_HISTOGRAM_H__ */
#endif /* __GRPC_SUPPORT_HISTOGRAM_H__ */
2 changes: 1 addition & 1 deletion include/grpc/support/host_port.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ int gpr_join_host_port(char **out, const char *host, int port);
}
#endif

#endif /* __GRPC_SUPPORT_HOST_PORT_H__ */
#endif /* __GRPC_SUPPORT_HOST_PORT_H__ */
2 changes: 1 addition & 1 deletion include/grpc/support/log.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,4 @@ void gpr_set_log_function(gpr_log_func func);
}
#endif

#endif /* __GRPC_SUPPORT_LOG_H__ */
#endif /* __GRPC_SUPPORT_LOG_H__ */
2 changes: 1 addition & 1 deletion include/grpc/support/log_win32.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ char *gpr_format_message(DWORD messageid);
}
#endif

#endif /* __GRPC_SUPPORT_LOG_H__ */
#endif /* __GRPC_SUPPORT_LOG_H__ */
2 changes: 1 addition & 1 deletion include/grpc/support/port_platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,4 @@ typedef uintptr_t gpr_uintptr;
power of two */
#define GPR_MAX_ALIGNMENT 16

#endif /* __GRPC_SUPPORT_PORT_PLATFORM_H__ */
#endif /* __GRPC_SUPPORT_PORT_PLATFORM_H__ */
2 changes: 1 addition & 1 deletion include/grpc/support/slice.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,4 @@ int gpr_slice_str_cmp(gpr_slice a, const char *b);
}
#endif

#endif /* __GRPC_SUPPORT_SLICE_H__ */
#endif /* __GRPC_SUPPORT_SLICE_H__ */
2 changes: 1 addition & 1 deletion include/grpc/support/slice_buffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ void gpr_slice_buffer_reset_and_unref(gpr_slice_buffer *sb);
}
#endif

#endif /* __GRPC_SUPPORT_SLICE_BUFFER_H__ */
#endif /* __GRPC_SUPPORT_SLICE_BUFFER_H__ */
2 changes: 1 addition & 1 deletion include/grpc/support/sync.h
Original file line number Diff line number Diff line change
Expand Up @@ -345,4 +345,4 @@ gpr_intptr gpr_stats_read(const gpr_stats_counter *c);
}
#endif

#endif /* __GRPC_SUPPORT_SYNC_H__ */
#endif /* __GRPC_SUPPORT_SYNC_H__ */
2 changes: 1 addition & 1 deletion include/grpc/support/sync_generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ typedef struct {
#define GPR_STATS_INIT \
{ 0 }

#endif /* __GRPC_SUPPORT_SYNC_GENERIC_H__ */
#endif /* __GRPC_SUPPORT_SYNC_GENERIC_H__ */
2 changes: 1 addition & 1 deletion include/grpc/support/sync_posix.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ typedef pthread_once_t gpr_once;

#define GPR_ONCE_INIT PTHREAD_ONCE_INIT

#endif /* __GRPC_SUPPORT_SYNC_POSIX_H__ */
#endif /* __GRPC_SUPPORT_SYNC_POSIX_H__ */
2 changes: 1 addition & 1 deletion include/grpc/support/sync_win32.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ typedef CONDITION_VARIABLE gpr_cv;
typedef INIT_ONCE gpr_once;
#define GPR_ONCE_INIT INIT_ONCE_STATIC_INIT

#endif /* __GRPC_SUPPORT_SYNC_WIN32_H__ */
#endif /* __GRPC_SUPPORT_SYNC_WIN32_H__ */
2 changes: 1 addition & 1 deletion include/grpc/support/thd.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ gpr_thd_id gpr_thd_currentid(void);
}
#endif

#endif /* __GRPC_SUPPORT_THD_H__ */
#endif /* __GRPC_SUPPORT_THD_H__ */
2 changes: 1 addition & 1 deletion include/grpc/support/time.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ double gpr_timespec_to_micros(gpr_timespec t);
}
#endif

#endif /* __GRPC_SUPPORT_TIME_H__ */
#endif /* __GRPC_SUPPORT_TIME_H__ */
2 changes: 1 addition & 1 deletion include/grpc/support/useful.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@

#define GPR_ARRAY_SIZE(array) (sizeof(array) / sizeof(*(array)))

#endif /* __GRPC_SUPPORT_USEFUL_H__ */
#endif /* __GRPC_SUPPORT_USEFUL_H__ */
2 changes: 1 addition & 1 deletion src/compiler/cpp_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -703,4 +703,4 @@ std::string GetSourceServices(const google::protobuf::FileDescriptor *file) {
return output;
}

} // namespace grpc_cpp_generator
} // namespace grpc_cpp_generator
Loading

0 comments on commit 190d360

Please sign in to comment.