lib: update copyrights
[babeltrace.git] / include / babeltrace / object.h
index e72614fbe5eaad236f718e8cab60267a46296767..96506d8f6a631dc77482e0859f8c680187f0f3ec 100644 (file)
@@ -2,8 +2,7 @@
 #define BABELTRACE_OBJECT_H
 
 /*
- * Copyright (c) 2015 EfficiOS Inc. and Linux Foundation
- * Copyright (c) 2015 Philippe Proulx <pproulx@efficios.com>
+ * Copyright (c) 2015-2018 Philippe Proulx <pproulx@efficios.com>
  * Copyright (c) 2015 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -178,7 +177,7 @@ would destroy the object and leave a dangling pointer in \p _var_dst.
 
 @sa bt_object_put_ref(): Decrements the reference count of a Babeltrace object.
 */
-void *bt_object_get_ref(void *obj);
+void bt_object_get_ref(const void *obj);
 
 /**
 @brief Decrements the reference count of the Babeltrace object
@@ -202,7 +201,7 @@ former is generally safer.
        variable to another.
 @sa bt_object_get_ref(): Increments the reference count of a Babeltrace object.
 */
-void bt_object_put_ref(void *obj);
+void bt_object_put_ref(const void *obj);
 
 /**
 @}
This page took 0.023076 seconds and 4 git commands to generate.