diff options
author | ed <ed@FreeBSD.org> | 2012-02-12 18:29:56 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2012-02-12 18:29:56 +0000 |
commit | 23524b572c9490078007a68a1760546e22a8184d (patch) | |
tree | ac73d0fee5bb41748009d87a44b179ab6b7d87bc /lib/libcam/cam.3 | |
parent | f5c5ba680655abbc307ee2fa88397fc168cbdcad (diff) | |
download | FreeBSD-src-23524b572c9490078007a68a1760546e22a8184d.zip FreeBSD-src-23524b572c9490078007a68a1760546e22a8184d.tar.gz |
Globally replace u_int*_t from (non-contributed) man pages.
The reasoning behind this, is that if we are consistent in our
documentation about the uint*_t stuff, people will be less tempted to
write new code that uses the non-standard types.
I am not going to bump the man page dates, as these changes can be
considered style nits. The meaning of the man pages is unaffected.
MFC after: 1 month
Diffstat (limited to 'lib/libcam/cam.3')
-rw-r--r-- | lib/libcam/cam.3 | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/libcam/cam.3 b/lib/libcam/cam.3 index c11d8fd..4f918d2 100644 --- a/lib/libcam/cam.3 +++ b/lib/libcam/cam.3 @@ -145,7 +145,7 @@ struct cam_device { * Device name given by * the user. */ - u_int32_t given_unit_number; /* + uint32_t given_unit_number; /* * Unit number given by * the user. */ @@ -153,7 +153,7 @@ struct cam_device { * Name of the device, * e.g. 'pass' */ - u_int32_t dev_unit_num; /* Unit number of the passthrough + uint32_t dev_unit_num; /* Unit number of the passthrough * device associated with this * particular device. */ @@ -161,18 +161,18 @@ struct cam_device { char sim_name[SIM_IDLEN+1];/* * Controller name, e.g.'ahc' */ - u_int32_t sim_unit_number; /* Controller unit number */ - u_int32_t bus_id; /* Controller bus number */ + uint32_t sim_unit_number; /* Controller unit number */ + uint32_t bus_id; /* Controller bus number */ lun_id_t target_lun; /* Logical Unit Number */ target_id_t target_id; /* Target ID */ path_id_t path_id; /* System SCSI bus number */ - u_int16_t pd_type; /* type of peripheral device */ + uint16_t pd_type; /* type of peripheral device */ struct scsi_inquiry_data inq_data; /* SCSI Inquiry data */ - u_int8_t serial_num[252]; /* device serial number */ - u_int8_t serial_num_len; /* length of the serial number */ - u_int8_t sync_period; /* Negotiated sync period */ - u_int8_t sync_offset; /* Negotiated sync offset */ - u_int8_t bus_width; /* Negotiated bus width */ + uint8_t serial_num[252]; /* device serial number */ + uint8_t serial_num_len; /* length of the serial number */ + uint8_t sync_period; /* Negotiated sync period */ + uint8_t sync_offset; /* Negotiated sync offset */ + uint8_t bus_width; /* Negotiated bus width */ int fd; /* file descriptor for device */ }; .Ed |