mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-24 10:26:10 +00:00
apidef.c: avoid 1 warning
* exec/apidef.c (_corosync_public_exit_error): Mark as "noreturn". git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1970 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
66325f4d56
commit
d7492c55da
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2008 Red Hat, Inc.
|
||||
* Copyright (c) 2008, 2009 Red Hat, Inc.
|
||||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
@ -63,6 +63,10 @@ typedef int (*typedef_tpg_leave) (hdb_handle_t, struct corosync_tpg_group *, int
|
||||
typedef int (*typedef_tpg_groups_mcast) (hdb_handle_t, int, struct corosync_tpg_group *, int groups_cnt, struct iovec *, int);
|
||||
typedef int (*typedef_tpg_groups_send_ok) (hdb_handle_t, struct corosync_tpg_group *, int groups_cnt, struct iovec *, int);
|
||||
|
||||
static inline void _corosync_public_exit_error (cs_fatal_error_t err,
|
||||
const char *file,
|
||||
unsigned int line)
|
||||
__attribute__((__noreturn__));
|
||||
static inline void _corosync_public_exit_error (
|
||||
cs_fatal_error_t err, const char *file, unsigned int line)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user