Sync OpenBSD patchset 340:

Use option print function for info messages as well.
This commit is contained in:
Tiago Cunha
2009-09-22 13:59:46 +00:00
parent 649b7c132d
commit 59e65cbda2
3 changed files with 49 additions and 36 deletions

7
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.448 2009-09-22 13:56:02 tcunha Exp $ */
/* $Id: tmux.h,v 1.449 2009-09-22 13:59:46 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -1157,10 +1157,11 @@ void options_free(struct options *);
struct options_entry *options_find1(struct options *, const char *);
struct options_entry *options_find(struct options *, const char *);
void options_remove(struct options *, const char *);
void printflike3 options_set_string(
struct options_entry *printflike3 options_set_string(
struct options *, const char *, const char *, ...);
char *options_get_string(struct options *, const char *);
void options_set_number(struct options *, const char *, long long);
struct options_entry *options_set_number(
struct options *, const char *, long long);
long long options_get_number(struct options *, const char *);
/* environ.c */