mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-12 05:03:24 +00:00

``` ../plugins/coreboot/fu-plugin-coreboot.c:96:7: error: assigning to 'gchar *' (aka 'char *') from 'const gchar *' (aka 'const char *') discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] name = fu_plugin_coreboot_get_name_for_type (plugin, NULL); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../plugins/coreboot/fu-plugin-coreboot.c:98:8: error: assigning to 'gchar *' (aka 'char *') from 'const gchar *' (aka 'const char *') discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] name = fu_plugin_get_dmi_value (plugin, FU_HWIDS_KEY_PRODUCT_NAME); ```
16 lines
402 B
C
16 lines
402 B
C
/*
|
|
* Copyright (C) 2019 9elements Agency GmbH <patrick.rudolph@9elements.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "fu-plugin.h"
|
|
#include "fu-device.h"
|
|
|
|
gchar *fu_plugin_coreboot_version_string_to_triplet (const gchar *coreboot_version,
|
|
GError **error);
|
|
gchar *fu_plugin_coreboot_get_name_for_type (FuPlugin *plugin,
|
|
const gchar *vboot_partition);
|