aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/vendor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/vendor.h b/includes/vendor.h
index f7d02998..50c23c50 100644
--- a/includes/vendor.h
+++ b/includes/vendor.h
@@ -45,7 +45,8 @@ typedef struct {
void vendor_init(void);
void vendor_cleanup(void);
-const Vendor *vendor_match(const gchar *id_str, ...); /* end list of strings with NULL */
+const Vendor *vendor_match(const gchar *id_str, ...) /* end list of strings with NULL */
+ __attribute__((sentinel));
const gchar *vendor_get_name(const gchar *id_str);
const gchar *vendor_get_shortest_name(const gchar *id_str);
const gchar *vendor_get_url(const gchar *id_str);