Changeset 62835 in vbox for trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace
- Timestamp:
- Aug 1, 2016 4:41:36 PM (8 years ago)
- Location:
- trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_cc.c
r62827 r62835 152 152 yylineno = idp->di_lineno; 153 153 xyerror(D_PRAGMA_UNUSED, "unused #pragma %s\n", (char *)idp->di_iarg); 154 #ifndef _MSC_VER /* unreachable */ 154 155 return (0); 156 #endif 155 157 } 156 158 -
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_parser.c
r62829 r62835 4777 4777 4778 4778 /*PRINTFLIKE3*/ 4779 void 4779 DECL_NO_RETURN(void) 4780 4780 dnerror(const dt_node_t *dnp, dt_errtag_t tag, const char *format, ...) 4781 4781 { … … 4810 4810 4811 4811 /*PRINTFLIKE2*/ 4812 void 4812 DECL_NO_RETURN(void) 4813 4813 xyerror(dt_errtag_t tag, const char *format, ...) 4814 4814 { … … 4844 4844 4845 4845 /*PRINTFLIKE1*/ 4846 void 4846 DECL_NO_RETURN(void) 4847 4847 yyerror(const char *format, ...) 4848 4848 { -
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_parser.h
r53652 r62835 266 266 } yystate_t; 267 267 268 extern voiddnerror(const dt_node_t *, dt_errtag_t, const char *, ...);268 extern DECL_NO_RETURN(void) dnerror(const dt_node_t *, dt_errtag_t, const char *, ...); 269 269 extern void dnwarn(const dt_node_t *, dt_errtag_t, const char *, ...); 270 270 271 extern voidxyerror(dt_errtag_t, const char *, ...);271 extern DECL_NO_RETURN(void) xyerror(dt_errtag_t, const char *, ...); 272 272 extern void xywarn(dt_errtag_t, const char *, ...); 273 273 extern void xyvwarn(dt_errtag_t, const char *, va_list); 274 274 275 extern voidyyerror(const char *, ...);275 extern DECL_NO_RETURN(void) yyerror(const char *, ...); 276 276 extern void yywarn(const char *, ...); 277 277 extern void yyvwarn(const char *, va_list); -
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_provider.c
r62829 r62835 155 155 size_t newsize = BT_SIZEOFMAP(dtp->dt_xlatorid); 156 156 157 #ifdef VBOX /* range */ 158 assert(id < dtp->dt_xlatorid); 159 #else 157 160 assert(id >= 0 && id < dtp->dt_xlatorid); 161 #endif 158 162 159 163 if (newsize > oldsize) { -
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_xlator.c
r62829 r62835 354 354 dt_xlator_lookup_id(dtrace_hdl_t *dtp, id_t id) 355 355 { 356 #ifdef VBOX /* range */ 357 assert(id < dtp->dt_xlatorid); 358 #else 356 359 assert(id >= 0 && id < dtp->dt_xlatorid); 360 #endif 357 361 return (dtp->dt_xlatormap[id]); 358 362 } -
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/mknames.sed
r53658 r62835 20 20 i\const char *dtrace_subrstr(dtrace_hdl_t *dtp, int subr) 21 21 i\{ 22 i\ (void)dtp; 22 23 i\ switch (subr) 23 24 i\ {
Note:
See TracChangeset
for help on using the changeset viewer.