PERFORCE change 165298 for review

Jonathan Anderson jona at FreeBSD.org
Fri Jun 26 22:38:40 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=165298

Change 165298 by jona at jona-trustedbsd-belle-vmware on 2009/06/26 22:38:37

	__BEGIN_DECLS, not #ifdef __cplusplus

Affected files ...

.. //depot/projects/trustedbsd/capabilities/src/lib/libuserangel/libuserangel.h#5 edit

Differences ...

==== //depot/projects/trustedbsd/capabilities/src/lib/libuserangel/libuserangel.h#5 (text+ko) ====

@@ -34,8 +34,11 @@
 #ifndef _LIBUSERANGEL_H_
 #define	_LIBUSERANGEL_H_
 
+#include <sys/cdefs.h>
 #include <libuserangel-powerbox.h>
 
+__BEGIN_DECLS
+
 
 /* High-level API */
 
@@ -101,6 +104,7 @@
 int ua_unmarshall_error(const struct ua_datum *d, int *errnum, char *msg, int *msglen);
 int ua_unmarshall_powerbox(const struct ua_datum *d, struct ua_powerbox_options *options);
 
+__END_DECLS
 
 #endif /* !_LIBUSERANGEL_H_ */
 


More information about the p4-projects mailing list