Print this page
remove support for non-ANSI compilation
@@ -18,19 +18,19 @@
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _LGRP_USER_H
#define _LGRP_USER_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* latency group definitions for user
*/
#ifdef __cplusplus
@@ -242,12 +242,10 @@
#endif /* _SYSCALL32 */
#if (!defined(_KERNEL) && !defined(_KMEMUSER))
-#ifdef __STDC__
-
lgrp_affinity_t lgrp_affinity_get(idtype_t idtype, id_t id, lgrp_id_t lgrp);
int lgrp_affinity_set(idtype_t idtype, id_t id, lgrp_id_t lgrp,
lgrp_affinity_t aff);
@@ -285,29 +283,10 @@
int lgrp_version(int version);
lgrp_view_t lgrp_view(lgrp_cookie_t cookie);
-#else /* __STDC__ */
-lgrp_affinity_t lgrp_affinity_get();
-int lgrp_affinity_set();
-int lgrp_children();
-int lgrp_cookie_stale();
-int lgrp_cpus();
-int lgrp_fini();
-lgrp_id_t lgrp_home();
-int lgrp_init();
-int lgrp_latency();
-spgcnt_t lgrp_mem_size();
-int lgrp_nlgrps();
-int lgrp_parents();
-int lgrp_resources();
-lgrp_id_t lgrp_root();
-int lgrp_version();
-lgrp_view_t lgrp_view();
-#endif /* __STDC__ */
-
#endif /* !_KERNEL && !_KMEMUSER */
#ifdef __cplusplus
}
#endif