@@ -24,10 +24,9 @@ extern "C" {
2424 * "[instanceNum]" for multiple instances of the same
2525 * resource
2626 * @param data arbitrary associated data string
27- * @return a handle
2827 */
29- int32_t HAL_ReportUsage (const struct WPI_String * resource,
30- const struct WPI_String * data);
28+ void HAL_ReportUsage (const struct WPI_String * resource,
29+ const struct WPI_String * data);
3130
3231#ifdef __cplusplus
3332} // extern "C"
@@ -42,13 +41,11 @@ int32_t HAL_ReportUsage(const struct WPI_String* resource,
4241 * "[instanceNum]" for multiple instances of the same
4342 * resource
4443 * @param data arbitrary associated data string
45- * @return a handle
4644 */
47- inline int32_t HAL_ReportUsage (std::string_view resource,
48- std::string_view data) {
45+ inline void HAL_ReportUsage (std::string_view resource, std::string_view data) {
4946 WPI_String resourceStr = wpi::util::make_string (resource);
5047 WPI_String dataStr = wpi::util::make_string (data);
51- return HAL_ReportUsage (&resourceStr, &dataStr);
48+ HAL_ReportUsage (&resourceStr, &dataStr);
5249}
5350
5451/* *
@@ -58,9 +55,8 @@ inline int32_t HAL_ReportUsage(std::string_view resource,
5855 * @param resource the used resource name
5956 * @param instanceNumber an index that identifies the resource instance
6057 * @param data arbitrary associated data string
61- * @return a handle
6258 */
63- int32_t HAL_ReportUsage (std::string_view resource, int instanceNumber,
64- std::string_view data);
59+ void HAL_ReportUsage (std::string_view resource, int instanceNumber,
60+ std::string_view data);
6561
6662#endif
0 commit comments