On Tuesday, November 02, 2010 11:56:31 legendbb wrote:
> line 64 and 65 in include/command.h
> 
> extern cmd_tbl_t  __u_boot_cmd_start;
> extern cmd_tbl_t  __u_boot_cmd_end;
> 
> definition of cmd_tbl_t is just one line above these. Why "extern" is used?

basic C question ?  if you dont have the extern, you'd be declaring storage 
for two variables instead of references to the symbols elsewhere.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to