X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fcmd_part.c;h=39e8666b774a4b0d45c2a0f9b06295ac975a20b5;hb=1e3d64031608d668509b6fe0825f7708bb6b6a0d;hp=d997597c1e1e7b0d0260135afa10ba779a9b6934;hpb=5cf41dccff9d1e8c297de6eae8422d3e322eebbc;p=u-boot diff --git a/common/cmd_part.c b/common/cmd_part.c index d997597c1e..39e8666b77 100644 --- a/common/cmd_part.c +++ b/common/cmd_part.c @@ -13,21 +13,7 @@ * Sysgo Real-Time Solutions, AG * Pavel Bartusek * - * See file CREDITS for list of people who contributed to this - * project. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-2.0+ */ #include @@ -40,7 +26,7 @@ #error CONFIG_PARTITION_UUIDS must be enabled for CONFIG_CMD_PART to be enabled #endif -int do_part_uuid(int argc, char * const argv[]) +static int do_part_uuid(int argc, char * const argv[]) { int part; block_dev_desc_t *dev_desc; @@ -63,7 +49,7 @@ int do_part_uuid(int argc, char * const argv[]) return 0; } -int do_part_list(int argc, char * const argv[]) +static int do_part_list(int argc, char * const argv[]) { int ret; block_dev_desc_t *desc; @@ -80,7 +66,7 @@ int do_part_list(int argc, char * const argv[]) return 0; } -int do_part(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +static int do_part(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { if (argc < 2) return CMD_RET_USAGE;