]> granicus.if.org Git - sysstat/commitdiff
sa.h: Fix functions prototype
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 30 Sep 2017 07:34:02 +0000 (09:34 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 30 Sep 2017 07:34:02 +0000 (09:34 +0200)
Fix remap_struct() and swap_struct() prototypes according to commit
ad4fe0f.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
sa.h

diff --git a/sa.h b/sa.h
index 53860cc111bf4c8774ab767b70e0a667c73dcfbb..1c8c4c40a008afecdc461f75cfc1eef922d6294b 100644 (file)
--- a/sa.h
+++ b/sa.h
@@ -1222,7 +1222,7 @@ __nr_t read_vol_act_structures
 int reallocate_vol_act_structures
        (struct activity * [], unsigned int, unsigned int);
 void remap_struct
-       (int [], int [], void *, int);
+       (unsigned int [], unsigned int [], void *, unsigned int);
 void replace_nonprintable_char
        (int, char *);
 int sa_fread
@@ -1244,6 +1244,6 @@ void set_hdr_rectime
 void set_record_timestamp_string
        (unsigned int, struct record_header *, char *, char *, int, struct tm *);
 void swap_struct
-       (int [], void *, int);
+       (unsigned int [], void *, int);
 
 #endif  /* _SA_H */