From 9596ebb7012a19a45ca036a200acd617a93a321b Mon Sep 17 00:00:00 2001 From: pbrook Date: Sun, 18 Nov 2007 01:44:38 +0000 Subject: Add statics and missing #includes for prototypes. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3683 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/sd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'hw/sd.c') diff --git a/hw/sd.c b/hw/sd.c index 9dd86e3573..8b481e6f0c 100644 --- a/hw/sd.c +++ b/hw/sd.c @@ -308,8 +308,8 @@ static int sd_req_crc_validate(struct sd_request_s *req) return sd_crc7(buffer, 5) != req->crc; /* TODO */ } -void sd_response_r1_make(SDState *sd, - uint8_t *response, uint32_t last_status) +static void sd_response_r1_make(SDState *sd, + uint8_t *response, uint32_t last_status) { uint32_t mask = CARD_STATUS_B ^ ILLEGAL_COMMAND; uint32_t status; @@ -323,7 +323,7 @@ void sd_response_r1_make(SDState *sd, response[3] = (status >> 0) & 0xff; } -void sd_response_r3_make(SDState *sd, uint8_t *response) +static void sd_response_r3_make(SDState *sd, uint8_t *response) { response[0] = (sd->ocr >> 24) & 0xff; response[1] = (sd->ocr >> 16) & 0xff; @@ -331,7 +331,7 @@ void sd_response_r3_make(SDState *sd, uint8_t *response) response[3] = (sd->ocr >> 0) & 0xff; } -void sd_response_r6_make(SDState *sd, uint8_t *response) +static void sd_response_r6_make(SDState *sd, uint8_t *response) { uint16_t arg; uint16_t status; -- cgit v1.2.3