Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

papi.h: Fix warnings for -Wstrict-prototypes #63

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/papi.h
Original file line number Diff line number Diff line change
Expand Up @@ -1221,7 +1221,7 @@ typedef enum {
int PAPI_flops_rate(int event, float *rtime, float *ptime, long long * flpops, float *mflops); /**< simplified call to get Mflops/s (floating point operation rate), real and processor time */
int PAPI_ipc(float *rtime, float *ptime, long long * ins, float *ipc); /**< gets instructions per cycle, real and processor time */
int PAPI_epc(int event, float *rtime, float *ptime, long long *ref, long long *core, long long *evt, float *epc); /**< gets (named) events per cycle, real and processor time, reference and core cycles */
int PAPI_rate_stop(); /**< stops a running event set of a rate function */
int PAPI_rate_stop(void); /**< stops a running event set of a rate function */

int PAPI_enum_dev_type(int enum_modifier, void **handle); /**< return the handler for the next device type available */
int PAPI_get_dev_type_attr(void *handle, PAPI_dev_type_attr_e attr, void *value); /**< return the value of the queried attribute for the device type handle */
Expand All @@ -1238,7 +1238,7 @@ typedef enum {
int PAPI_hl_region_begin(const char* region); /**< read performance events at the beginning of a region */
int PAPI_hl_read(const char* region); /**< read performance events inside of a region and store the difference to the corresponding beginning of the region */
int PAPI_hl_region_end(const char* region); /**< read performance events at the end of a region and store the difference to the corresponding beginning of the region */
int PAPI_hl_stop(); /**< stops a running high-level event set */
int PAPI_hl_stop(void); /**< stops a running high-level event set */
/** @} */


Expand Down
Loading