PERFORCE change 178299 for review

Gabor Pali pgj at FreeBSD.org
Sat May 15 14:56:05 UTC 2010


http://p4web.freebsd.org/@@178299?ac=10

Change 178299 by pgj at csupor on 2010/05/15 14:55:36

	- Tidy up __BEGIN_DECLS and __END_DECLS
	- Bump copyright year while I am here		

Affected files ...

.. //depot/projects/soc2009/pgj_libstat/src/lib/libnetstat/netstat.h#67 edit

Differences ...

==== //depot/projects/soc2009/pgj_libstat/src/lib/libnetstat/netstat.h#67 (text+ko) ====

@@ -1,5 +1,5 @@
 /*-
- * Copyright (c) 2009 Gabor Pali
+ * Copyright (c) 2009, 2010 Gabor Pali
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -286,6 +286,7 @@
 struct mroute_type_iterator;
 
 __BEGIN_DECLS
+
 const char		    *netstat_strerror(int);
 const char		    *netstat_kvmerror(const struct session_type *);
 
@@ -358,7 +359,6 @@
 u_int32_t	netstat_sbt_get_mcnt(const struct sockbuf_type *sbtp);
 u_int32_t	netstat_sbt_get_ccnt(const struct sockbuf_type *sbtp);
 u_int32_t	netstat_sbt_get_mbmax(const struct sockbuf_type *sbtp);
-__END_DECLS
 
 /* "Memory buffers" */
 struct mbuf_type    *netstat_mbt_alloc(void);
@@ -1338,4 +1338,7 @@
 u_int32_t   netstat_mrt_get_parent(const struct mroute_type *);
 u_int8_t    netstat_mrt_get_ttl(const struct mroute_type *, int);
 int	    netstat_mrt_get_is_mif_set(const struct mroute_type *, u_int32_t);
+
+__END_DECLS
+
 #endif /* !_NETSTAT_H_ */


More information about the p4-projects mailing list