db_variables.c (26639) | db_variables.c (36735) |
---|---|
1/* 2 * Mach Operating System 3 * Copyright (c) 1991,1990 Carnegie Mellon University 4 * All Rights Reserved. 5 * 6 * Permission to use, copy, modify and distribute this software and its 7 * documentation is hereby granted, provided that both the copyright 8 * notice and this permission notice appear in all copies of the --- 9 unchanged lines hidden (view full) --- 18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 19 * School of Computer Science 20 * Carnegie Mellon University 21 * Pittsburgh PA 15213-3890 22 * 23 * any improvements or extensions that they make and grant Carnegie the 24 * rights to redistribute these changes. 25 * | 1/* 2 * Mach Operating System 3 * Copyright (c) 1991,1990 Carnegie Mellon University 4 * All Rights Reserved. 5 * 6 * Permission to use, copy, modify and distribute this software and its 7 * documentation is hereby granted, provided that both the copyright 8 * notice and this permission notice appear in all copies of the --- 9 unchanged lines hidden (view full) --- 18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 19 * School of Computer Science 20 * Carnegie Mellon University 21 * Pittsburgh PA 15213-3890 22 * 23 * any improvements or extensions that they make and grant Carnegie the 24 * rights to redistribute these changes. 25 * |
26 * $Id: db_variables.c,v 1.13 1997/02/22 09:28:31 peter Exp $ | 26 * $Id: db_variables.c,v 1.14 1997/06/14 11:52:37 bde Exp $ |
27 */ 28 29/* 30 * Author: David B. Golub, Carnegie Mellon University 31 * Date: 7/90 32 */ 33 34#include <sys/param.h> --- 6 unchanged lines hidden (view full) --- 41static void db_write_variable __P((struct db_variable *, db_expr_t *)); 42 43#ifdef notused 44static int db_set_variable __P((db_expr_t value)); 45#endif 46 47static struct db_variable db_vars[] = { 48 { "radix", &db_radix, FCN_NULL }, | 27 */ 28 29/* 30 * Author: David B. Golub, Carnegie Mellon University 31 * Date: 7/90 32 */ 33 34#include <sys/param.h> --- 6 unchanged lines hidden (view full) --- 41static void db_write_variable __P((struct db_variable *, db_expr_t *)); 42 43#ifdef notused 44static int db_set_variable __P((db_expr_t value)); 45#endif 46 47static struct db_variable db_vars[] = { 48 { "radix", &db_radix, FCN_NULL }, |
49 { "maxoff", (int *)&db_maxoff, FCN_NULL }, | 49 { "maxoff", (long *)&db_maxoff, FCN_NULL }, |
50 { "maxwidth", &db_max_width, FCN_NULL }, 51 { "tabstops", &db_tab_stop_width, FCN_NULL }, 52}; 53static struct db_variable *db_evars = 54 db_vars + sizeof(db_vars)/sizeof(db_vars[0]); 55 56static int 57db_find_variable(varp) --- 115 unchanged lines hidden --- | 50 { "maxwidth", &db_max_width, FCN_NULL }, 51 { "tabstops", &db_tab_stop_width, FCN_NULL }, 52}; 53static struct db_variable *db_evars = 54 db_vars + sizeof(db_vars)/sizeof(db_vars[0]); 55 56static int 57db_find_variable(varp) --- 115 unchanged lines hidden --- |